anndata.experimental.Write

anndata.experimental.Write#

protocol anndata.experimental.Write[source]#

typing.Protocol.

Classes that implement this protocol must have the following methods / attributes:

__call__(f, k, v, *, dataset_kwargs)[source]#

Low-level writing function for an element.

Parameters:
f Union[Array, Dataset, Group, Group]

The store to which elem should be written.

k str

The key to read in from the group.

v InMemoryElem

The element to write out.

dataset_kwargs Mapping[str, Any]

Keyword arguments to be passed to a library-level io function, like chunks for Zarr-Python.

Return type:

None