neuroglancer.read_precomputed_annotations.AnnotationReader(
    
base_spec: Any | Spec,
    
context: Context | None = None,
    
staleness_bound: float | "open" = "open",)

Constructs an annotation reader.

Parameters:
base_spec: Any | Spec

URL or TensorStore KvStore spec for the precomputed annotation directory.

context: Context | None = None

Optional TensorStore context to use.

staleness_bound: float | 'open' = 'open'

Staleness bound for caching sharding metadata. If not specified, defaults to the time at which the AnnotationReader is constructed.