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

Potential bug in fsspec.utils.infer_storage_options #256

Closed
andrii-ivaniuk opened this issue Mar 24, 2020 · 2 comments
Closed

Potential bug in fsspec.utils.infer_storage_options #256

andrii-ivaniuk opened this issue Mar 24, 2020 · 2 comments

Comments

@andrii-ivaniuk
Copy link

Hi,

I was trying to parse urlpath abfs://my-container/test.csv with fsspec.utils.infer_storage_options and expected to get storage options dictionary with path value equal to my-container/test.csv as it returns for example for s3 protocol.
However, the result is:

{'protocol': 'abfs', 'path': '/test.csv', 'host': 'my-container'}

Is it required to update the following if statement with Azure-related protocols?
https://github.com/intake/filesystem_spec/blob/cc7cbc0cc58c96c427708c1e9a98b0d6c99bd1f0/fsspec/utils.py#L71

@martindurant
Copy link
Member

Please raise on adlfs and link - I simply don't know what their API requires.

@andrii-ivaniuk
Copy link
Author

Hi folks,
Any updates?

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