@@ -412,7 +412,7 @@ async def create(
412
412
# v3 only
413
413
chunk_shape : ShapeLike | None = None ,
414
414
chunk_key_encoding : (
415
- ChunkKeyEncoding
415
+ ChunkKeyEncodingLike
416
416
| tuple [Literal ["default" ], Literal ["." , "/" ]]
417
417
| tuple [Literal ["v2" ], Literal ["." , "/" ]]
418
418
| None
@@ -453,7 +453,7 @@ async def create(
453
453
The shape of the array's chunks
454
454
Zarr format 3 only. Zarr format 2 arrays should use `chunks` instead.
455
455
If not specified, default are guessed based on the shape and dtype.
456
- chunk_key_encoding : ChunkKeyEncoding , optional
456
+ chunk_key_encoding : ChunkKeyEncodingLike , optional
457
457
A specification of how the chunk keys are represented in storage.
458
458
Zarr format 3 only. Zarr format 2 arrays should use `dimension_separator` instead.
459
459
Default is ``("default", "/")``.
@@ -553,7 +553,7 @@ async def _create(
553
553
# v3 only
554
554
chunk_shape : ShapeLike | None = None ,
555
555
chunk_key_encoding : (
556
- ChunkKeyEncoding
556
+ ChunkKeyEncodingLike
557
557
| tuple [Literal ["default" ], Literal ["." , "/" ]]
558
558
| tuple [Literal ["v2" ], Literal ["." , "/" ]]
559
559
| None
@@ -671,7 +671,7 @@ async def _create_v3(
671
671
config : ArrayConfig ,
672
672
fill_value : Any | None = None ,
673
673
chunk_key_encoding : (
674
- ChunkKeyEncoding
674
+ ChunkKeyEncodingLike
675
675
| tuple [Literal ["default" ], Literal ["." , "/" ]]
676
676
| tuple [Literal ["v2" ], Literal ["." , "/" ]]
677
677
| None
@@ -1708,7 +1708,7 @@ def create(
1708
1708
The shape of the Array's chunks.
1709
1709
Zarr format 3 only. Zarr format 2 arrays should use `chunks` instead.
1710
1710
If not specified, default are guessed based on the shape and dtype.
1711
- chunk_key_encoding : ChunkKeyEncoding , optional
1711
+ chunk_key_encoding : ChunkKeyEncodingLike , optional
1712
1712
A specification of how the chunk keys are represented in storage.
1713
1713
Zarr format 3 only. Zarr format 2 arrays should use `dimension_separator` instead.
1714
1714
Default is ``("default", "/")``.
@@ -3756,7 +3756,7 @@ async def create_array(
3756
3756
order : MemoryOrder | None = None ,
3757
3757
zarr_format : ZarrFormat | None = 3 ,
3758
3758
attributes : dict [str , JSON ] | None = None ,
3759
- chunk_key_encoding : ChunkKeyEncoding | ChunkKeyEncodingLike | None = None ,
3759
+ chunk_key_encoding : ChunkKeyEncodingLike | None = None ,
3760
3760
dimension_names : Iterable [str ] | None = None ,
3761
3761
storage_options : dict [str , Any ] | None = None ,
3762
3762
overwrite : bool = False ,
@@ -3834,7 +3834,7 @@ async def create_array(
3834
3834
The zarr format to use when saving.
3835
3835
attributes : dict, optional
3836
3836
Attributes for the array.
3837
- chunk_key_encoding : ChunkKeyEncoding , optional
3837
+ chunk_key_encoding : ChunkKeyEncodingLike , optional
3838
3838
A specification of how the chunk keys are represented in storage.
3839
3839
For Zarr format 3, the default is ``{"name": "default", "separator": "/"}}``.
3840
3840
For Zarr format 2, the default is ``{"name": "v2", "separator": "."}}``.
0 commit comments