Skip to content

Commit 533a939

Browse files
committed
Improve array and group docstringspc
1 parent 50abf3d commit 533a939

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/zarr/core/array.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,9 @@ def _info(
17071707
# TODO: Array can be a frozen data class again once property setters (e.g. shape) are removed
17081708
@dataclass(frozen=False)
17091709
class Array:
1710-
"""Instantiate an array from an initialized store."""
1710+
"""
1711+
A Zarr array.
1712+
"""
17111713

17121714
_async_array: AsyncArray[ArrayV3Metadata] | AsyncArray[ArrayV2Metadata]
17131715

src/zarr/core/group.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,6 +1744,10 @@ async def move(self, source: str, dest: str) -> None:
17441744

17451745
@dataclass(frozen=True)
17461746
class Group(SyncMixin):
1747+
"""
1748+
A Zarr group.
1749+
"""
1750+
17471751
_async_group: AsyncGroup
17481752

17491753
@classmethod

0 commit comments

Comments
 (0)