Skip to content

webknossos.annotation.annotation_info

AnnotationInfo

Data class containing information about a WEBKNOSSOS annotation

description instance-attribute

description: str

duration_in_seconds instance-attribute

duration_in_seconds: float | None

id instance-attribute

id: str

modified instance-attribute

modified: int | None

name instance-attribute

name: str

owner_id instance-attribute

owner_id: str | None

state instance-attribute

type instance-attribute

download_annotation

download_annotation() -> Annotation

Downloads and returns the annotation that is described by this AnnotationInfo object

get_remote_annotations classmethod

get_remote_annotations(is_finished: bool | None = False, owner: str | None = None) -> list[AnnotationInfo]

Returns a list of AnnotationInfo objects for all annotations that belong to the current user (if owner is None). If owner is not None, only annotations of the specified owner are returned.