Skip to content

Commit edd4852

Browse files
committed
redundant ChunkKeyEncoding | ChunkKeyEncodingLike
1 parent 826d6bd commit edd4852

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/zarr/api/synchronous.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ def create_array(
758758
order: MemoryOrder | None = None,
759759
zarr_format: ZarrFormat | None = 3,
760760
attributes: dict[str, JSON] | None = None,
761-
chunk_key_encoding: ChunkKeyEncoding | ChunkKeyEncodingLike | None = None,
761+
chunk_key_encoding: ChunkKeyEncodingLike | None = None,
762762
dimension_names: Iterable[str] | None = None,
763763
storage_options: dict[str, Any] | None = None,
764764
overwrite: bool = False,
@@ -923,7 +923,7 @@ def from_array(
923923
order: MemoryOrder | None = None,
924924
zarr_format: ZarrFormat | None = None,
925925
attributes: dict[str, JSON] | None = None,
926-
chunk_key_encoding: ChunkKeyEncoding | ChunkKeyEncodingLike | None = None,
926+
chunk_key_encoding: ChunkKeyEncodingLike | None = None,
927927
dimension_names: Iterable[str] | None = None,
928928
storage_options: dict[str, Any] | None = None,
929929
overwrite: bool = False,

src/zarr/core/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3809,7 +3809,7 @@ async def from_array(
38093809
order: MemoryOrder | None = None,
38103810
zarr_format: ZarrFormat | None = None,
38113811
attributes: dict[str, JSON] | None = None,
3812-
chunk_key_encoding: ChunkKeyEncoding | ChunkKeyEncodingLike | None = None,
3812+
chunk_key_encoding: ChunkKeyEncodingLike | None = None,
38133813
dimension_names: Iterable[str] | None = None,
38143814
storage_options: dict[str, Any] | None = None,
38153815
overwrite: bool = False,

src/zarr/core/group.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
from zarr.core.array_spec import ArrayConfig, ArrayConfigLike
6161
from zarr.core.buffer import Buffer, BufferPrototype
62-
from zarr.core.chunk_key_encodings import ChunkKeyEncoding, ChunkKeyEncodingLike
62+
from zarr.core.chunk_key_encodings import ChunkKeyEncodingLike
6363
from zarr.core.common import MemoryOrder
6464

6565
logger = logging.getLogger("zarr.group")
@@ -1016,7 +1016,7 @@ async def create_array(
10161016
fill_value: Any | None = 0,
10171017
order: MemoryOrder | None = None,
10181018
attributes: dict[str, JSON] | None = None,
1019-
chunk_key_encoding: ChunkKeyEncoding | ChunkKeyEncodingLike | None = None,
1019+
chunk_key_encoding: ChunkKeyEncodingLike | None = None,
10201020
dimension_names: Iterable[str] | None = None,
10211021
storage_options: dict[str, Any] | None = None,
10221022
overwrite: bool = False,
@@ -2250,7 +2250,7 @@ def create_array(
22502250
fill_value: Any | None = 0,
22512251
order: MemoryOrder | None = "C",
22522252
attributes: dict[str, JSON] | None = None,
2253-
chunk_key_encoding: ChunkKeyEncoding | ChunkKeyEncodingLike | None = None,
2253+
chunk_key_encoding: ChunkKeyEncodingLike | None = None,
22542254
dimension_names: Iterable[str] | None = None,
22552255
storage_options: dict[str, Any] | None = None,
22562256
overwrite: bool = False,
@@ -2636,7 +2636,7 @@ def array(
26362636
fill_value: Any | None = 0,
26372637
order: MemoryOrder | None = "C",
26382638
attributes: dict[str, JSON] | None = None,
2639-
chunk_key_encoding: ChunkKeyEncoding | ChunkKeyEncodingLike | None = None,
2639+
chunk_key_encoding: ChunkKeyEncodingLike | None = None,
26402640
dimension_names: Iterable[str] | None = None,
26412641
storage_options: dict[str, Any] | None = None,
26422642
overwrite: bool = False,

0 commit comments

Comments
 (0)