-
-
Notifications
You must be signed in to change notification settings - Fork 366
Handle missing FSMap kwargs in FSStore #814
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
Conversation
|
LGTM. |
Codecov Report
@@ Coverage Diff @@
## master #814 +/- ##
=======================================
Coverage 99.94% 99.94%
=======================================
Files 31 31
Lines 10606 10606
=======================================
Hits 10600 10600
Misses 6 6
|
rabernat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question about why this is needed.
| check=False, | ||
| create=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Help me understand why these can't be passed through via **storage_options. I read #775, but here it look like any extra keywords will in the constructor will be passed right to fsspec.get_mapper.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I need to add this change to the release notes as a bug fix, or does someone else handle that before release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Digging deeper, I found some issues in Created an
I think we can close this PR, and handle this in |
Thanks, @tasansal. Closing but we can re-open if need be. |
This PR closes #775
fsspec.FSMapcreated and used byzarr.storage.FSStoredoes not receive thecheckandcreatekwargs.Fixed it by exposing
checkandcreatekwargs tozarr.storage.FSStore.Defaults are False, just like
FSMap.Is this OK, or should we default them to
Noneso it takes the default directly fromfsspec.FSMap?TODO: