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

[pull] main from pydata:main #608

Merged
merged 3 commits into from
Dec 18, 2024
Merged

[pull] main from pydata:main #608

merged 3 commits into from
Dec 18, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Dec 18, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

kmuehlbauer and others added 3 commits December 18, 2024 08:47
* Optimize idxmin, idxmax with dask

Closes #9425

* use map_blocks instead

* small edits

* fix typing

* try again

* Migrate to DaskIndexingAdapter

* cleanup

* fix?

* finish

* fix types

* review comments
* 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]>
@pull pull bot added the ⤵️ pull label Dec 18, 2024
@pull pull bot merged commit 60a4a49 into Illviljan:main Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants