File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+ """
2+ Convenience helpers.
3+
4+ .. warning::
5+
6+ This sub-module is deprecated. All functions here are defined
7+ in the top level zarr namespace instead.
8+ """
9+
110import warnings
211
312from zarr .api .synchronous import (
2938]
3039
3140warnings .warn (
32- "zarr.convenience is deprecated, use zarr.api.synchronous" ,
41+ "zarr.convenience is deprecated. "
42+ "Import these functions from the top level zarr. namespace instead." ,
3343 DeprecationWarning ,
3444 stacklevel = 2 ,
3545)
Original file line number Diff line number Diff line change 1+ """
2+ Helpers for creating arrays.
3+
4+ .. warning::
5+
6+ This sub-module is deprecated. All functions here are defined
7+ in the top level zarr namespace instead.
8+ """
9+
110import warnings
211
312from zarr .api .synchronous import (
3140]
3241
3342warnings .warn (
34- "zarr.creation is deprecated, use zarr.api.synchronous" ,
43+ "zarr.creation is deprecated. "
44+ "Import these functions from the top level zarr. namespace instead." ,
3545 DeprecationWarning ,
3646 stacklevel = 2 ,
3747)
You can’t perform that action at this time.
0 commit comments