Skip to content

Commit ecfbaf6

Browse files
authored
Fix versionadded tag in zarr.core.Array docstring (#852)
In #738, we accidentally moved the 2.7 versionadded tag of partial_decompress to the new write_empty_chunks argument. This commit restores it to its rightful place and adds a 2.11 versionadded tag to write_empty_chunks.
1 parent 5efffad commit ecfbaf6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

zarr/core.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ class Array:
7676
If True and while the chunk_store is a FSStore and the compresion used
7777
is Blosc, when getting data from the array chunks will be partially
7878
read and decompressed when possible.
79+
80+
.. versionadded:: 2.7
81+
7982
write_empty_chunks : bool, optional
8083
If True (default), all chunks will be stored regardless of their
8184
contents. If False, each chunk is compared to the array's fill
@@ -85,7 +88,8 @@ class Array:
8588
as only chunks with non-fill-value data are stored, at the expense
8689
of overhead associated with checking the data of each chunk.
8790
88-
.. versionadded:: 2.7
91+
.. versionadded:: 2.11
92+
8993
9094
Attributes
9195
----------

0 commit comments

Comments
 (0)