7171
7272 from zarr .abc .numcodec import Numcodec
7373 from zarr .codecs .blosc import BloscJSON_V2 , BloscJSON_V3
74- from zarr .codecs .crc32c_ import Crc32cConfig , Crc32cJSON_V2 , Crc32cJSON_V3
74+ from zarr .codecs .crc32c_ import Crc32cConfig_V2 , Crc32cJSON_V2 , Crc32cJSON_V3
7575 from zarr .codecs .gzip import GZipConfig , GZipJSON_V2 , GZipJSON_V3
7676 from zarr .codecs .zstd import ZstdConfig_V3 , ZstdJSON_V2 , ZstdJSON_V3
7777 from zarr .core .array_spec import ArraySpec
@@ -253,6 +253,8 @@ class AsTypeJSON_V3(NamedRequiredConfig[Literal["astype"], AsTypeConfig]):
253253class Crc32Config (TypedDict ):
254254 """Configuration parameters for CRC32 codec."""
255255
256+ location : Literal ["start" , "end" ]
257+
256258
257259class Crc32JSON_V2 (Crc32Config ):
258260 """JSON representation of CRC32 codec for Zarr V2."""
@@ -267,6 +269,8 @@ class Crc32JSON_V3(NamedConfig[Literal["crc32"], Crc32Config]):
267269class Adler32Config (TypedDict ):
268270 """Configuration parameters for Adler32 codec."""
269271
272+ location : Literal ["start" , "end" ]
273+
270274
271275class Adler32JSON_V2 (Adler32Config ):
272276 """JSON representation of Adler32 codec for Zarr V2."""
@@ -295,6 +299,9 @@ class Fletcher32JSON_V3(NamedRequiredConfig[Literal["fletcher32"], Fletcher32Con
295299class JenkinsLookup3Config (TypedDict ):
296300 """Configuration parameters for JenkinsLookup3 codec."""
297301
302+ initval : int
303+ prefix : bytes
304+
298305
299306class JenkinsLookup3JSON_V2 (JenkinsLookup3Config ):
300307 """JSON representation of JenkinsLookup3 codec for Zarr V2."""
@@ -747,7 +754,7 @@ def to_json(self, zarr_format: ZarrFormat) -> Crc32JSON_V2 | Crc32JSON_V3:
747754class CRC32C (_NumcodecsChecksumCodec ):
748755 codec_name = "numcodecs.crc32c"
749756 _codec_id = "crc32c"
750- codec_config : Crc32cConfig
757+ codec_config : Crc32cConfig_V2
751758
752759 @overload
753760 def to_json (self , zarr_format : Literal [2 ]) -> Crc32cJSON_V2 : ...
0 commit comments