Skip to content

Commit 31b3ad4

Browse files
committed
types
1 parent 1301c5f commit 31b3ad4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/zarr/core/group.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
from collections.abc import AsyncGenerator, Generator, Iterable, Iterator
5454
from typing import Any
5555

56-
from zarr.abc.codec import Codec
5756
from zarr.core.array_spec import ArrayConfig, ArrayConfigParams
5857
from zarr.core.buffer import Buffer, BufferPrototype
5958
from zarr.core.chunk_key_encodings import ChunkKeyEncoding, ChunkKeyEncodingParams
@@ -2203,8 +2202,8 @@ def create_array(
22032202
dtype: npt.DTypeLike,
22042203
chunks: ChunkCoords | Literal["auto"] = "auto",
22052204
shards: ChunkCoords | None = None,
2206-
filters: Iterable[dict[str, JSON] | Codec] | Literal["auto"] = "auto",
2207-
compressors: Iterable[dict[str, JSON] | Codec] | Codec | Literal["auto"] = "auto",
2205+
filters: FiltersParam = "auto",
2206+
compressors: CompressorsParam = "auto",
22082207
fill_value: Any | None = 0,
22092208
order: MemoryOrder | None = "C",
22102209
attributes: dict[str, JSON] | None = None,

0 commit comments

Comments
 (0)