-
Notifications
You must be signed in to change notification settings - Fork 43
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
FSSpecParser implementation for URI handling #27
Comments
A few notes regarding flavours: With #114 coming up, future versions of As far as I understand it, custom "flavour" implementations would then be equivalent to overriding This is relevant for providing support for |
See this message about the timeline and back/future-port of the ABC: drivendataorg/cloudpathlib#347 (comment) |
It looks like we should implemenent our custom |
Note to self: This should be relatively simple to achieve in the Python-3.12 support PR I have already drafted: |
Update: Python3.13 naming for "flavour" is now "parser", see
ParserBase
https://github.com/barneygale/pathlib-abc/blob/e429fd2ae079d3c623e687715a8133f4c4769ed2/pathlib_abc/__init__.py#L38Issue
Starting new issue as requested based on comment in issue #26.
The base class: pathlib._Flavour
The posix implementation: pathlib._PosixFlavour
Here is a list of the members of the class for an idea of what may need to be implemented:
pathlib._PosixFlavour
Of course it probably makes sense to base as much as possible on
fsspec
functionality, especially considering its ability for url chaining.Here are some possibly related functions from fsspec.core:
The text was updated successfully, but these errors were encountered: