Skip to content

Commit a732fb2

Browse files
committed
fix: typesize is not required
1 parent e6e5920 commit a732fb2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/zarr-metadata/src/zarr_metadata/v3/codec

packages/zarr-metadata/src/zarr_metadata/v3/codec/blosc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
See https://zarr-specs.readthedocs.io/en/latest/v3/codecs/blosc/index.html
55
"""
66

7-
from typing import Final, Literal, TypedDict
7+
from typing import Final, Literal, NotRequired, TypedDict
88

99
BLOSC_CODEC_NAME: Final = "blosc"
1010
"""The `name` field value of the `blosc` codec."""
@@ -37,7 +37,7 @@ class BloscCodecConfiguration(TypedDict):
3737
clevel: int
3838
shuffle: BloscShuffle
3939
blocksize: int
40-
typesize: int
40+
typesize: NotRequired[int]
4141

4242

4343
class BloscCodec(TypedDict):

0 commit comments

Comments
 (0)