@@ -776,9 +776,9 @@ async def open_group(
776776
777777
778778async def create (
779- shape : ChunkCoords ,
779+ shape : ChunkCoords | int ,
780780 * , # Note: this is a change from v2
781- chunks : ChunkCoords | None = None , # TODO: v2 allowed chunks=True
781+ chunks : ChunkCoords | int | None = None , # TODO: v2 allowed chunks=True
782782 dtype : npt .DTypeLike | None = None ,
783783 compressor : dict [str , JSON ] | None = None , # TODO: default and type change
784784 fill_value : Any | None = 0 , # TODO: need type
@@ -800,7 +800,7 @@ async def create(
800800 meta_array : Any | None = None , # TODO: need type
801801 attributes : dict [str , JSON ] | None = None ,
802802 # v3 only
803- chunk_shape : ChunkCoords | None = None ,
803+ chunk_shape : ChunkCoords | int | None = None ,
804804 chunk_key_encoding : (
805805 ChunkKeyEncoding
806806 | tuple [Literal ["default" ], Literal ["." , "/" ]]
@@ -1140,6 +1140,8 @@ async def open_array(
11401140 ----------
11411141 store : Store or str
11421142 Store or path to directory in file system or name of zip file.
1143+ zarr_version : {2, 3, None}, optional
1144+ The zarr format to use when saving. Deprecated in favor of zarr_format.
11431145 zarr_format : {2, 3, None}, optional
11441146 The zarr format to use when saving.
11451147 path : str, optional
0 commit comments