From 125129b66b000d9c7f9f8cc3409f0d393e26823c Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Sun, 20 Oct 2024 11:13:19 -0500 Subject: [PATCH] docstringsx --- src/zarr/core/array.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/zarr/core/array.py b/src/zarr/core/array.py index 5a282bcf1..4b567205f 100644 --- a/src/zarr/core/array.py +++ b/src/zarr/core/array.py @@ -1147,6 +1147,19 @@ def __repr__(self) -> str: @property def info(self) -> ArrayInfo: + """ + Return the statically known information for an array. + + Returns + ------- + ArrayInfo + + See Also + -------- + AsyncArray.info_complete + All information about a group, including dynamic information + like the number of bytes and chunks written. + """ return self._info() async def info_complete(self) -> ArrayInfo: @@ -2841,6 +2854,19 @@ def __repr__(self) -> str: @property def info(self) -> ArrayInfo: + """ + Return the statically known information for an array. + + Returns + ------- + ArrayInfo + + See Also + -------- + Array.info_complete + All information about a group, including dynamic information + like the number of bytes and chunks written. + """ return self._async_array.info def info_complete(self) -> ArrayInfo: