Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for PosixPath vs str #11

Open
joeflack4 opened this issue Oct 11, 2022 · 2 comments
Open

Support for PosixPath vs str #11

joeflack4 opened this issue Oct 11, 2022 · 2 comments

Comments

@joeflack4
Copy link

Overview

Was recently working on a codebase that uses LinkML recently and ran into this issue. @cmungall mentioned that LinkML makes use of honey badger reader (still love the name =P), so perhaps it would be good to handle this issue here.

I haven't used hbreader yet personally, so I'm not sure where/how this would added, but Chris suggested that it might be worth adding an issue.

@cmungall
Copy link

more generally, support for Path objects

@joeflack4
Copy link
Author

Just an FYI, kinda strange, but the data type for pathlib.Path is pathlib.PosixPath:

>>> from pathlib import Path
>>> type(Path())
<class 'pathlib.PosixPath'>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants