Skip to content

Commit f71d6fb

Browse files
committed
mv BatchedCodecPipeline to zarr.core
1 parent 10ae5f3 commit f71d6fb

File tree

5 files changed

+3
-4
lines changed

5 files changed

+3
-4
lines changed

src/zarr/codecs/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
from zarr.codecs.bytes import BytesCodec, Endian
55
from zarr.codecs.crc32c_ import Crc32cCodec
66
from zarr.codecs.gzip import GzipCodec
7-
from zarr.codecs.pipeline import BatchedCodecPipeline
87
from zarr.codecs.sharding import ShardingCodec, ShardingCodecIndexLocation
98
from zarr.codecs.transpose import TransposeCodec
109
from zarr.codecs.zstd import ZstdCodec
1110

1211
__all__ = [
13-
"BatchedCodecPipeline",
1412
"BloscCname",
1513
"BloscCodec",
1614
"BloscShuffle",

src/zarr/codecs/registry.py

Whitespace-only changes.
File renamed without changes.

src/zarr/core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def reset(self) -> None:
4747
"async": {"concurrency": None, "timeout": None},
4848
"json_indent": 2,
4949
"codec_pipeline": {
50-
"path": "zarr.codecs.pipeline.BatchedCodecPipeline",
50+
"path": "zarr.core.codec_pipeline.BatchedCodecPipeline",
5151
"batch_size": 1,
5252
},
5353
"codecs": {

tests/v3/test_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
from zarr import Array, zeros
1212
from zarr.abc.codec import CodecInput, CodecOutput, CodecPipeline
1313
from zarr.abc.store import ByteSetter
14-
from zarr.codecs import BatchedCodecPipeline, BloscCodec, BytesCodec, Crc32cCodec, ShardingCodec
14+
from zarr.codecs import BloscCodec, BytesCodec, Crc32cCodec, ShardingCodec
1515
from zarr.core.array_spec import ArraySpec
1616
from zarr.core.buffer import NDBuffer
17+
from zarr.core.codec_pipeline import BatchedCodecPipeline
1718
from zarr.core.config import BadConfigError, config
1819
from zarr.core.indexing import SelectorTuple
1920
from zarr.registry import (

0 commit comments

Comments
 (0)