We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See behavior difference with "file://filename" uri vs "filename" uri with compression.
>>> print(upath.__version__) 0.1.4 >>> a = UPath('abc.json.gz') >>> a.open('wb', compression='gzip') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: open() got an unexpected keyword argument 'compression' >>> >>> a = UPath('file:///tmp/abc.json.gz') >>> a.open('wb', compression='gzip') <gzip fsspec.implementations.local.LocalFileOpener object at 0x1028548b0 0x1034b1f40>
The text was updated successfully, but these errors were encountered:
Thank you for reporting @seandavi ❤️
We should align the method signatures and raise a warning for stdlib pathlib in this case.
Would you be willing to work on a PR?
Cheers, Andreas
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
See behavior difference with "file://filename" uri vs "filename" uri with compression.
The text was updated successfully, but these errors were encountered: