neuroglancer.read_precomputed_annotations.AnnotationReader.by_id(
    
AnnotationMap[int, Annotation]
)

Annotations indexed by their 64-bit annotation id.

If the by_id index is not present in metadata, lookups raise errors.