File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2828ZARRAY_JSON = ".zarray"
2929ZGROUP_JSON = ".zgroup"
3030ZATTRS_JSON = ".zattrs"
31- ZMETADATA_v2_JSON = ".zmetadata"
31+ ZMETADATA_V2_JSON = ".zmetadata"
3232
3333ByteRangeRequest = tuple [int | None , int | None ]
3434BytesLike = bytes | bytearray | memoryview
Original file line number Diff line number Diff line change 2424 ZARRAY_JSON ,
2525 ZATTRS_JSON ,
2626 ZGROUP_JSON ,
27+ ZMETADATA_V2_JSON ,
2728 ChunkCoords ,
2829 ShapeLike ,
2930 ZarrFormat ,
@@ -395,7 +396,7 @@ async def open(
395396 """
396397 store_path = await make_store_path (store )
397398
398- consolidated_key = ".zmetadata"
399+ consolidated_key = ZMETADATA_V2_JSON
399400 if (zarr_format == 2 or zarr_format is None ) and isinstance (use_consolidated , str ):
400401 consolidated_key = use_consolidated
401402
Original file line number Diff line number Diff line change 3737from zarr .core .metadata .common import ArrayMetadata , parse_attributes
3838from zarr .registry import get_codec_class
3939
40- # For type checking
41- _bool = bool
42-
43- __all__ = ["ArrayMetadata" ]
44-
4540
4641def parse_zarr_format (data : object ) -> Literal [3 ]:
4742 if data == 3 :
@@ -315,6 +310,10 @@ def parse_fill_value(
315310 return dtype .type (fill_value ) # type: ignore[arg-type]
316311
317312
313+ # For type checking
314+ _bool = bool
315+
316+
318317class DataType (Enum ):
319318 bool = "bool"
320319 int8 = "int8"
You can’t perform that action at this time.
0 commit comments