anndata.types.ExtensionNamespace#
- protocol anndata.types.ExtensionNamespace[source]#
Protocol for extension namespaces.
Enforces that the namespace initializer accepts a class with the proper
__init__method. Protocol’s can’t enforce that the__init__accepts the correct types. See_check_namespace_signaturefor that. This is mainly useful for static type checking with mypy and IDEs.This protocol is runtime checkable.
Classes that implement this protocol must have the following methods / attributes: