Skip to content

Commit 8ca385a

Browse files
authored
docs: fix the docstring for CodecPipeline.write (#3836)
* Fix the docstring for `CodecPipeline.write` The annotation for the `batch_info` parameter in `CodecPipeline.write` omits the final bool from the tuple. This PR corrects the type annotation in the docstring. * docs: changelog * docs: rename changelog file
1 parent 3a2ce2f commit 8ca385a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changes/3836.doc.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Corrects the type annotation reported for the `batch_info` parameter in the `CodecPipeline.write`
2+
method docstring.

src/zarr/abc/codec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ async def write(
480480
481481
Parameters
482482
----------
483-
batch_info : Iterable[tuple[ByteSetter, ArraySpec, SelectorTuple, SelectorTuple]]
483+
batch_info : Iterable[tuple[ByteSetter, ArraySpec, SelectorTuple, SelectorTuple, bool]]
484484
Ordered set of information about the chunks.
485485
The first slice selection determines which parts of the chunk will be encoded.
486486
The second slice selection determines where in the value array the chunk data is located.

0 commit comments

Comments
 (0)