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

v3 arrays have no .name attribute #1924

Closed
rabernat opened this issue May 29, 2024 · 1 comment · Fixed by #1940
Closed

v3 arrays have no .name attribute #1924

rabernat opened this issue May 29, 2024 · 1 comment · Fixed by #1940
Assignees
Milestone

Comments

@rabernat
Copy link
Contributor

V2 arrays have a .name: https://zarr.readthedocs.io/en/stable/_autoapi/zarr.core.Array.html#zarr.core.Array.name

V3 arrays don't:

import zarr
arr = zarr.Array.create(store=zarr.store.MemoryStore(), shape=(10,), chunks=(5,), dtype="i4")
arr.name
# attribute error

It would be a pretty disruptive API change to remove this.

@rabernat rabernat added the V3 label May 29, 2024
@jhamman jhamman self-assigned this Jun 1, 2024
@jhamman jhamman added this to the 3.0.0 milestone Jun 1, 2024
@jhamman jhamman moved this to In Progress in Zarr-Python - 3.0 Jun 1, 2024
@jhamman
Copy link
Member

jhamman commented Jun 1, 2024

I've started implementing this. PR coming soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants