You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cache pre-existing Zarr arrays in Zarr backend (pydata#9861)
* cache array keys on ZarrStore instances
* refactor get_array_keys
* add test for get_array_keys
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* lint
* add type annotation for _cache
* make type hint accurate
* make type hint pass mypy
* make type hint pass mypy, correctly
* Update xarray/backends/zarr.py
Co-authored-by: Deepak Cherian <[email protected]>
* use roundtrip method instead of explicit alternative
* cache members instead of just array keys
* adjust test to members caching
* refactor members cache
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* explictly revert changes to test_write_store
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* indent correctly
* update instrumented tests, remove cache update functionality, and set cache default to False in test fixtures
* update instrumented tests, remove cache update functionality, and set cache default to False in test fixtures
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* lint
* update tests
* make check_requests more permissive
* update instrumented tests for zarr==2.18
* Update xarray/backends/zarr.py
Co-authored-by: Deepak Cherian <[email protected]>
* Update xarray/backends/zarr.py
Co-authored-by: Deepak Cherian <[email protected]>
* Update xarray/backends/zarr.py
Co-authored-by: Deepak Cherian <[email protected]>
* Update xarray/backends/zarr.py
Co-authored-by: Deepak Cherian <[email protected]>
* Update xarray/backends/zarr.py
Co-authored-by: Deepak Cherian <[email protected]>
* doc: add whats new content
* fixup
* update whats new
* fixup
* remove vestigial cache_array_keys
* make cache_members default to True
* tweak
* Remove from public API
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Deepak Cherian <[email protected]>
Co-authored-by: Deepak Cherian <[email protected]>
0 commit comments