File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -305,6 +305,33 @@ async def create(
305305 config : ArrayConfig | ArrayConfigParams | None = None ,
306306 ) -> AsyncArray [ArrayV3Metadata ]: ...
307307
308+ @overload
309+ @classmethod
310+ async def create (
311+ cls ,
312+ store : StoreLike ,
313+ * ,
314+ # v2 and v3
315+ shape : ShapeLike ,
316+ dtype : npt .DTypeLike ,
317+ zarr_format : Literal [3 ] = 3 ,
318+ fill_value : Any | None = None ,
319+ attributes : dict [str , JSON ] | None = None ,
320+ # v3 only
321+ chunk_shape : ShapeLike | None = None ,
322+ chunk_key_encoding : (
323+ ChunkKeyEncoding
324+ | tuple [Literal ["default" ], Literal ["." , "/" ]]
325+ | tuple [Literal ["v2" ], Literal ["." , "/" ]]
326+ | None
327+ ) = None ,
328+ codecs : Iterable [Codec | dict [str , JSON ]] | None = None ,
329+ dimension_names : Iterable [str ] | None = None ,
330+ # runtime
331+ overwrite : bool = False ,
332+ data : npt .ArrayLike | None = None ,
333+ config : ArrayConfig | ArrayConfigParams | None = None ,
334+ ) -> AsyncArray [ArrayV3Metadata ]: ...
308335 @overload
309336 @classmethod
310337 async def create (
You can’t perform that action at this time.
0 commit comments