Skip to content

Commit a306e72

Browse files
committed
chore: remove shape and dtype attributes
1 parent 5fd5b6e commit a306e72

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/zarr/core/codec_pipeline.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ class ChunkTransform:
7474
Provides `encode` and `decode` for pure-compute codec operations
7575
(no IO, no threading, no batching).
7676
77-
`shape` and `dtype` reflect the representation **after** all
78-
ArrayArrayCodec transforms -- i.e. the spec that feeds the
79-
ArrayBytesCodec.
80-
8177
All codecs must implement `SupportsSyncCodec`. Construction will
8278
raise `TypeError` if any codec does not.
8379
"""
@@ -122,16 +118,6 @@ def __post_init__(self) -> None:
122118
bb_sync.append(bb_codec)
123119
self._bb_codecs = tuple(bb_sync)
124120

125-
@property
126-
def shape(self) -> tuple[int, ...]:
127-
"""Shape after all ArrayArrayCodec transforms (input to the ArrayBytesCodec)."""
128-
return self._ab_spec.shape
129-
130-
@property
131-
def dtype(self) -> ZDType[TBaseDType, TBaseScalar]:
132-
"""Dtype after all ArrayArrayCodec transforms (input to the ArrayBytesCodec)."""
133-
return self._ab_spec.dtype
134-
135121
def decode(
136122
self,
137123
chunk_bytes: Buffer,

0 commit comments

Comments
 (0)