Skip to content

Commit

Permalink
docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
d-v-b committed Feb 2, 2025
1 parent 6ab8339 commit 9b97c95
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/zarr/core/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -3451,7 +3451,21 @@ async def read_node(
) -> AsyncArray[ArrayV2Metadata] | AsyncArray[ArrayV3Metadata] | AsyncGroup:
"""
Read an AsyncArray or AsyncGroup from a path in a Store.
Parameters
----------
store : Store
The store-like object to read from.
path : str
The path to the node to read.
zarr_format : {2, 3}
The zarr format of the node to read.
Returns
-------
AsyncArray | AsyncGroup
"""

match zarr_format:
case 2:
return await _read_node_v2(store=store, path=path)
Expand Down

0 comments on commit 9b97c95

Please sign in to comment.