Skip to content

Commit

Permalink
docstringsx
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Oct 20, 2024
1 parent 615c025 commit 125129b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/zarr/core/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 125129b

Please sign in to comment.