Skip to content

Commit

Permalink
(fix): add string descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan-gold committed Jul 8, 2024
1 parent 4416526 commit fbe44f0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/anndata/_io/specs/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,13 @@ def __call__(
iospec: IOSpec,
) -> InMemoryType: ...

"""Callback used in {func}`anndata.experimental.read_dispatched` to customize reading an element from a store.
Returns
-------
The element read from the store.
"""


class Reader:
def __init__(
Expand Down Expand Up @@ -307,7 +314,9 @@ def __call__(
*,
iospec: IOSpec,
dataset_kwargs: MappingProxyType,
) -> InMemoryType: ...
) -> None: ...

"""Callback used in {func}`anndata.experimental.write_dispatched` to customize writing an element to a store."""


class Writer:
Expand Down

0 comments on commit fbe44f0

Please sign in to comment.