add_version method

add_version

Add list of the annotations.

def add_version(self, annotations):
    ...
Parameter Type Description
annotations List[AnnotationBase] List of the annotations to add.

add_version

Adds a list of annotations for a version key.

def add_version(self, new_version_key, annotations):
    ...
Parameter Type Description
new_version_key Any Key of the version.
annotations List[AnnotationBase] List of the annotations.
Raises Description
Exception If the version key already exists.

See Also