Make Group.arrays
return tuples of (key, array)
for v2 compatibility
#2212
Labels
bug
Potential issues with the zarr-python library
Zarr version
v3
Numcodecs version
na
Python Version
na
Operating System
na
Installation
na
Description
zarr-python 2.x used
Group.arrays
to return an iterable of key-value pairs(name, array)
. In 3.x.arrays
returns an iterable of arrays.I think the new name is clearer, but IMO it's not worth the breaking change. We could have
group.arrays
return the pairs,group.array_keys
return the keys, andgroup.array_values
return the array values.Steps to reproduce
Additional output
No response
The text was updated successfully, but these errors were encountered: