AsyncGroup.create_dataset()
might call AsyncGroup.create_array()
without dtype
argument
#3050
Labels
bug
Potential issues with the zarr-python library
Zarr version
main branch
Description
AsyncGroup.create_array()
argumentsshape
anddtype
have no default value, so they are mandatory:zarr-python/src/zarr/core/group.py
Lines 994 to 1000 in 5ff3fbe
As far as I can see,
AsyncGroup.create_dataset()
may callAsyncGroup.create_array()
withoutdtype
argument ifkwargs
is missingdtype
anddata
isNone
:zarr-python/src/zarr/core/group.py
Lines 1158 to 1160 in 5ff3fbe
Granted, that wouldn't make sense, but it would be better to handle that corner case nicely.
The text was updated successfully, but these errors were encountered: