@@ -3686,7 +3686,7 @@ def _get_default_encoding_v3(
36863686
36873687
36883688def _get_default_chunk_encoding_v2 (
3689- dtype : np .dtype [np . generic ],
3689+ dtype : np .dtype [Any ],
36903690) -> tuple [tuple [numcodecs .abc .Codec , ...], numcodecs .abc .Codec ]:
36913691 """
36923692 Get the default chunk encoding for zarr v2 arrays, given a dtype
@@ -3718,7 +3718,7 @@ def _parse_chunk_encoding_v2(
37183718 * ,
37193719 compression : numcodecs .abc .Codec | Literal ["auto" ],
37203720 filters : tuple [numcodecs .abc .Codec , ...] | Literal ["auto" ],
3721- dtype : np .dtype [np . generic ],
3721+ dtype : np .dtype [Any ],
37223722) -> tuple [tuple [numcodecs .abc .Codec , ...], numcodecs .abc .Codec ]:
37233723 """
37243724 Generate chunk encoding classes for v2 arrays with optional defaults.
@@ -3740,7 +3740,7 @@ def _parse_chunk_encoding_v3(
37403740 * ,
37413741 compression : Iterable [BytesBytesCodec ] | Literal ["auto" ],
37423742 filters : Iterable [ArrayArrayCodec ] | Literal ["auto" ],
3743- dtype : np .dtype [np . generic ],
3743+ dtype : np .dtype [Any ],
37443744) -> tuple [tuple [ArrayArrayCodec , ...], ArrayBytesCodec , tuple [BytesBytesCodec , ...]]:
37453745 """
37463746 Generate chunk encoding classes for v3 arrays with optional defaults.
0 commit comments