@@ -412,7 +412,7 @@ async def create(
412412 # v3 only
413413 chunk_shape : ShapeLike | None = None ,
414414 chunk_key_encoding : (
415- ChunkKeyEncoding
415+ ChunkKeyEncodingLike
416416 | tuple [Literal ["default" ], Literal ["." , "/" ]]
417417 | tuple [Literal ["v2" ], Literal ["." , "/" ]]
418418 | None
@@ -453,7 +453,7 @@ async def create(
453453 The shape of the array's chunks
454454 Zarr format 3 only. Zarr format 2 arrays should use `chunks` instead.
455455 If not specified, default are guessed based on the shape and dtype.
456- chunk_key_encoding : ChunkKeyEncoding , optional
456+ chunk_key_encoding : ChunkKeyEncodingLike , optional
457457 A specification of how the chunk keys are represented in storage.
458458 Zarr format 3 only. Zarr format 2 arrays should use `dimension_separator` instead.
459459 Default is ``("default", "/")``.
@@ -553,7 +553,7 @@ async def _create(
553553 # v3 only
554554 chunk_shape : ShapeLike | None = None ,
555555 chunk_key_encoding : (
556- ChunkKeyEncoding
556+ ChunkKeyEncodingLike
557557 | tuple [Literal ["default" ], Literal ["." , "/" ]]
558558 | tuple [Literal ["v2" ], Literal ["." , "/" ]]
559559 | None
@@ -671,7 +671,7 @@ async def _create_v3(
671671 config : ArrayConfig ,
672672 fill_value : Any | None = None ,
673673 chunk_key_encoding : (
674- ChunkKeyEncoding
674+ ChunkKeyEncodingLike
675675 | tuple [Literal ["default" ], Literal ["." , "/" ]]
676676 | tuple [Literal ["v2" ], Literal ["." , "/" ]]
677677 | None
@@ -1708,7 +1708,7 @@ def create(
17081708 The shape of the Array's chunks.
17091709 Zarr format 3 only. Zarr format 2 arrays should use `chunks` instead.
17101710 If not specified, default are guessed based on the shape and dtype.
1711- chunk_key_encoding : ChunkKeyEncoding , optional
1711+ chunk_key_encoding : ChunkKeyEncodingLike , optional
17121712 A specification of how the chunk keys are represented in storage.
17131713 Zarr format 3 only. Zarr format 2 arrays should use `dimension_separator` instead.
17141714 Default is ``("default", "/")``.
@@ -3756,7 +3756,7 @@ async def create_array(
37563756 order : MemoryOrder | None = None ,
37573757 zarr_format : ZarrFormat | None = 3 ,
37583758 attributes : dict [str , JSON ] | None = None ,
3759- chunk_key_encoding : ChunkKeyEncoding | ChunkKeyEncodingLike | None = None ,
3759+ chunk_key_encoding : ChunkKeyEncodingLike | None = None ,
37603760 dimension_names : Iterable [str ] | None = None ,
37613761 storage_options : dict [str , Any ] | None = None ,
37623762 overwrite : bool = False ,
@@ -3834,7 +3834,7 @@ async def create_array(
38343834 The zarr format to use when saving.
38353835 attributes : dict, optional
38363836 Attributes for the array.
3837- chunk_key_encoding : ChunkKeyEncoding , optional
3837+ chunk_key_encoding : ChunkKeyEncodingLike , optional
38383838 A specification of how the chunk keys are represented in storage.
38393839 For Zarr format 3, the default is ``{"name": "default", "separator": "/"}}``.
38403840 For Zarr format 2, the default is ``{"name": "v2", "separator": "."}}``.
0 commit comments