Skip to content

Conversation

@dstansby
Copy link
Contributor

@dstansby dstansby commented Apr 3, 2025

Fixes #2934.

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/user-guide/*.rst
  • Changes documented as a new file in changes/
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

Removed store API
^^^^^^^^^^^^^^^^^

``zarr.storage.contains_array()`` and ``zarr.storage.contains_group()`` have been removed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contains_array and contains_group have not been removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a user perspective they have, because they're in a private sub-module. I can make them public in this PR if they were always intended to be public?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can say that contains_array and contains_group are not yet part of the public API. I don't have any problem adding them to the public API but maybe that's better for another PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well since putting them back in the public API would make this migration guide section redundant, I think I'll just put them back in a PR to replace this one at some point 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add (or document migration from) contains_array and contains_group

2 participants