Annotations dispatcher module

The purpose of this module is to encapsulate all the necessary code to submit an annotation storage request. It is adapted to the Annotations Storage Service (JASS) developed for the CANARIE / Vesta project by CRIM.

VestaService.annotations_dispatcher.main()

Command line entry point to test upload of annotations.

VestaService.annotations_dispatcher.submit_annotations(ann_srv_url, annotations, send_zip=False)

Call the Annotation Storage Service to save annotations.

Parameters:
  • ann_srv_url – URL of the annotation service where the annotations will be stored.
  • annotations (list) – Annotations to append to the annotations Document.
  • send_zip – indicates if the annotations should be sent in a zip file