File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 38
38
VariableLengthUTF8JSON_V2 ,
39
39
ZDType ,
40
40
data_type_registry ,
41
+ # Import for backwards compatibility, but not included in __all__
42
+ # so it doesn't show up in the docs
43
+ parse_data_type , # noqa: F401
41
44
parse_dtype ,
42
45
)
43
46
Original file line number Diff line number Diff line change 13
13
from zarr .core .config import config
14
14
from zarr .core .dtype import (
15
15
AnyDType ,
16
- Bool ,
17
16
DataTypeRegistry ,
18
- FixedLengthUTF32 ,
19
17
TBaseDType ,
20
18
TBaseScalar ,
19
+ get_data_type_from_json ,
20
+ )
21
+ from zarr .core .dtype .common import unpack_dtype_json
22
+ from zarr .dtype import ( # type: ignore[attr-defined]
23
+ Bool ,
24
+ FixedLengthUTF32 ,
21
25
ZDType ,
22
26
data_type_registry ,
23
- get_data_type_from_json ,
24
27
parse_data_type ,
25
28
parse_dtype ,
26
29
)
27
- from zarr .core .dtype .common import unpack_dtype_json
28
30
29
31
if TYPE_CHECKING :
30
32
from collections .abc import Generator
You can’t perform that action at this time.
0 commit comments