We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e30027 commit 948f267Copy full SHA for 948f267
numcodecs/zarr3.py
@@ -294,7 +294,9 @@ def resolve_metadata(self, chunk_spec: ArraySpec) -> ArraySpec:
294
dtype=_to_zarr_dtype(np.dtype("uint8")),
295
)
296
297
- def validate(self, *, dtype: np.dtype[Any], **_kwargs) -> None:
+ # todo: remove this type: ignore when this class can be defined w.r.t.
298
+ # a single zarr dtype API
299
+ def validate(self, *, dtype: np.dtype[Any], **_kwargs) -> None: # type: ignore[override]
300
_dtype = _from_zarr_dtype(dtype)
301
if _dtype != np.dtype("bool"):
302
raise ValueError(f"Packbits filter requires bool dtype. Got {dtype}.")
0 commit comments