Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/zarr/creation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
"""
Helpers for creating arrays.

.. warning::

This sub-module is deprecated. All functions here are defined
in the top level zarr namespace instead.
"""

import warnings

from zarr.api.synchronous import (
Expand Down Expand Up @@ -31,7 +40,8 @@
]

warnings.warn(
"zarr.creation is deprecated, use zarr.api.synchronous",
"zarr.creation is deprecated. "
"Import these functions from the top level zarr. namespace instead.",
DeprecationWarning,
stacklevel=2,
)
Loading