Skip to content

Commit 88a4875

Browse files
committed
remove garbage
1 parent 9d77ca5 commit 88a4875

3 files changed

Lines changed: 3 additions & 333 deletions

File tree

docs/design/sync-bypass.md

Lines changed: 0 additions & 322 deletions
This file was deleted.

src/zarr/abc/codec.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,10 +482,8 @@ async def write(
482482
# event loop, it overrides these methods and sets supports_sync_io
483483
# to True. This lets Array selection methods bypass sync() entirely.
484484
#
485-
# The default implementations raise NotImplementedError, so
486-
# BatchedCodecPipeline (the standard pipeline) is unaffected.
487-
#
488-
# See docs/design/sync-bypass.md for the full design rationale.
485+
# The default implementations raise NotImplementedError.
486+
# BatchedCodecPipeline overrides these when all codecs support sync.
489487
# -------------------------------------------------------------------
490488

491489
@property

src/zarr/experimental/sync_codecs.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,7 @@
1414

1515
from dataclasses import dataclass
1616

17-
from zarr.core.codec_pipeline import (
18-
BatchedCodecPipeline,
19-
_CODEC_DECODE_NS_PER_BYTE, # noqa: F401
20-
_CODEC_ENCODE_NS_PER_BYTE, # noqa: F401
21-
_choose_workers, # noqa: F401
22-
_estimate_chunk_work_ns, # noqa: F401
23-
)
17+
from zarr.core.codec_pipeline import BatchedCodecPipeline
2418
from zarr.registry import register_pipeline
2519

2620
__all__ = ["SyncCodecPipeline"]

0 commit comments

Comments
 (0)