Skip to content

Commit b330dbd

Browse files
committed
Fix type of v2 compressors
1 parent c0e39af commit b330dbd

File tree

1 file changed

+1
-1
lines changed
  • src/zarr/core/metadata

1 file changed

+1
-1
lines changed

src/zarr/core/metadata/v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ArrayV2Metadata(Metadata):
6868
order: MemoryOrder = "C"
6969
filters: tuple[numcodecs.abc.Codec, ...] | None = None
7070
dimension_separator: Literal[".", "/"] = "."
71-
compressor: CompressorLikev2
71+
compressor: numcodecs.abc.Codec | None
7272
attributes: dict[str, JSON] = field(default_factory=dict)
7373
zarr_format: Literal[2] = field(init=False, default=2)
7474

0 commit comments

Comments
 (0)