Skip to content

Commit e0fd324

Browse files
committed
define ZarrFormat in top-level types
1 parent e733943 commit e0fd324

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/custom_dtype.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
DTypeJSON,
3030
check_dtype_spec_v2,
3131
)
32-
from zarr.core.types import JSON, ZarrFormat
32+
from zarr.core.types import JSON
33+
from zarr.types import ZarrFormat
3334

3435
# This is the int2 array data type
3536
int2_dtype_cls = type(np.dtype("int2"))

0 commit comments

Comments
 (0)