class neuroglancer.read_precomputed_annotations.AnnotationMap[KV]

Map interface for accessing an annotation index.

Public members

AnnotationMap(kvstore: KvStore | Nonemetadatakey_encoder...)

Initialize self. See help(type(self)) for accurate signature.

__getitem__(key: K-> V

Reads a given key.

__contains__(key: K-> bool

Checks if a given key is present.

get(key: Kbatch: Batch | None = None-> Future

Reads a given key, returning a Future.

async get_async(key: Kbatch: Batch | None = None-> V

Asynchronously reads a given key.

metadatadict[str, Any]

Raw JSON metadata associated with this annotation index.