We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b919483 commit 6fcd976Copy full SHA for 6fcd976
src/zarr/core/buffer/core.py
@@ -16,10 +16,6 @@
16
import numpy as np
17
import numpy.typing as npt
18
19
-from zarr.registry import (
20
- get_buffer_class,
21
- get_ndbuffer_class,
22
-)
23
24
if TYPE_CHECKING:
25
from collections.abc import Iterable, Sequence
@@ -507,4 +503,9 @@ class BufferPrototype(NamedTuple):
507
503
508
504
# The default buffer prototype used throughout the Zarr codebase.
509
505
def default_buffer_prototype() -> BufferPrototype:
506
+ from zarr.registry import (
+ get_buffer_class,
+ get_ndbuffer_class,
+ )
510
+
511
return BufferPrototype(buffer=get_buffer_class(), nd_buffer=get_ndbuffer_class())
0 commit comments