Skip to content

Commit 52d51bc

Browse files
committed
Fix circular import
1 parent a9d2c9e commit 52d51bc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/zarr/codecs/sharding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
BufferPrototype,
2727
NDBuffer,
2828
default_buffer_prototype,
29-
numpy_buffer_prototype,
3029
)
30+
from zarr.core.buffer.cpu import numpy_buffer_prototype
3131
from zarr.core.chunk_grids import ChunkGrid, RegularChunkGrid
3232
from zarr.core.common import (
3333
ChunkCoords,

src/zarr/core/buffer/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
NDBuffer,
77
default_buffer_prototype,
88
)
9-
from zarr.core.buffer.cpu import numpy_buffer_prototype
109

1110
__all__ = [
1211
"ArrayLike",
@@ -15,5 +14,4 @@
1514
"NDArrayLike",
1615
"NDBuffer",
1716
"default_buffer_prototype",
18-
"numpy_buffer_prototype",
1917
]

0 commit comments

Comments
 (0)