-
-
Notifications
You must be signed in to change notification settings - Fork 296
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
Sharding storage transformer for v3 #1111
Sharding storage transformer for v3 #1111
Conversation
Co-authored-by: Gregory Lee <[email protected]>
Co-authored-by: Gregory Lee <[email protected]>
…-storage-transformer
Codecov Report
@@ Coverage Diff @@
## main #1111 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 35 36 +1
Lines 14410 14739 +329
==========================================
+ Hits 14410 14739 +329
|
This pull request introduces 2 alerts when merging 06ce675 into 44de0e4 - view on LGTM.com new alerts:
|
…t-set' into sharding-storage-transformer
@joshmoore I just added a |
…and-partial-get-set
…-get-set Storage transformers and partial get set
* add storage_transformers and get/set_partial_values * formatting * add docs and release notes * add test_core testcase * Update zarr/creation.py Co-authored-by: Gregory Lee <[email protected]> * apply PR feedback * add comment that storage_transformers=None is the same as storage_transformers=[] * use empty tuple as default for storage_transformers * make mypy happy * better coverage, minor fix, adding rmdir * add missing rmdir to test * increase coverage * improve test coverage * fix TestArrayWithStorageTransformersV3 * Update zarr/creation.py Co-authored-by: Gregory Lee <[email protected]> * pick generic storage transformer changes from #1111 * increase coverage * fix order of storage transformers * retrigger CI * minor fixes * make flake8 happy * apply PR feedback Co-authored-by: Gregory Lee <[email protected]> Co-authored-by: Josh Moore <[email protected]>
@jstriebel : ok to leave you to push the update here? (If not, I'll dig in) |
…t-set' into sharding-storage-transformer
Sure, done 👍 |
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.
One minor comment I've been struggling with that's a bit outwith this PR. Getting this merged and then I'll prep a 2.14.0 (including ensure_bytes
) unless there are any concrete versioning suggestions.
🚀
Seems fine to me 👍 |
@joshmoore I don't see any further actionables for this PR, I'd be glad if we could merge it soon. |
Yessirs. |
This is huge! 🙌 |
Description
This PR
(a more efficient implementation might be a good follow-up)
(some refactoring might be needed in
core.py
to simplify the code-paths, but I'd rather defer this to a separate PR to keep the diff readable)TODO:
New/modified features documented in docs/tutorial.rst(v3 is not yet documented)