Skip to content

Commit 125129b

Browse files
committed
docstringsx
1 parent 615c025 commit 125129b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/zarr/core/array.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,19 @@ def __repr__(self) -> str:
11471147

11481148
@property
11491149
def info(self) -> ArrayInfo:
1150+
"""
1151+
Return the statically known information for an array.
1152+
1153+
Returns
1154+
-------
1155+
ArrayInfo
1156+
1157+
See Also
1158+
--------
1159+
AsyncArray.info_complete
1160+
All information about a group, including dynamic information
1161+
like the number of bytes and chunks written.
1162+
"""
11501163
return self._info()
11511164

11521165
async def info_complete(self) -> ArrayInfo:
@@ -2841,6 +2854,19 @@ def __repr__(self) -> str:
28412854

28422855
@property
28432856
def info(self) -> ArrayInfo:
2857+
"""
2858+
Return the statically known information for an array.
2859+
2860+
Returns
2861+
-------
2862+
ArrayInfo
2863+
2864+
See Also
2865+
--------
2866+
Array.info_complete
2867+
All information about a group, including dynamic information
2868+
like the number of bytes and chunks written.
2869+
"""
28442870
return self._async_array.info
28452871

28462872
def info_complete(self) -> ArrayInfo:

0 commit comments

Comments
 (0)