Skip to content

Commit 95ffadd

Browse files
committed
widen type of FiltersParam to include single numcodecs codec instances
1 parent f926a5a commit 95ffadd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/zarr/core/array.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3507,6 +3507,7 @@ def _get_default_codecs(
35073507
Iterable[dict[str, JSON] | ArrayArrayCodec]
35083508
| ArrayArrayCodec
35093509
| Iterable[numcodecs.abc.Codec]
3510+
| numcodecs.abc.Codec
35103511
| Literal["auto"]
35113512
)
35123513
CompressorsParam: TypeAlias = (

0 commit comments

Comments
 (0)