File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 5656 from zarr .abc .numcodec import Numcodec
5757 from zarr .core .buffer import NDArrayLikeOrScalar
5858 from zarr .core .chunk_key_encodings import ChunkKeyEncoding
59- from zarr .core .metadata .v2 import CompressorLike_V2
6059 from zarr .storage import StoreLike
6160
6261 # TODO: this type could use some more thought
@@ -131,7 +130,7 @@ class _LikeArgs(TypedDict):
131130 dtype : NotRequired [np .dtype [np .generic ]]
132131 order : NotRequired [Literal ["C" , "F" ]]
133132 filters : NotRequired [tuple [Codec , ...] | None ]
134- compressor : NotRequired [Codec ]
133+ compressor : NotRequired [Codec | None ]
135134 codecs : NotRequired [tuple [Codec , ...]]
136135
137136
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class ArrayV2Metadata(Metadata):
7777 order : MemoryOrder = "C"
7878 filters : tuple [Codec , ...] | None = None
7979 dimension_separator : Literal ["." , "/" ] = "."
80- compressor : Codec | NumcodecWrapper | None = None
80+ compressor : Codec | None = None
8181 attributes : dict [str , JSON ] = field (default_factory = dict )
8282 zarr_format : Literal [2 ] = field (init = False , default = 2 )
8383
You can’t perform that action at this time.
0 commit comments