datamint.api.dto

class datamint.api.dto.CreateAnnotationDto(type, identifier, scope, annotation_worklist_id=None, value=None, imported_from=None, import_author=None, frame_index=None, is_model=None, model_id=None, geometry=None, units=None)

Bases: object

Parameters:
  • type (AnnotationType | str)

  • identifier (str)

  • scope (str)

  • annotation_worklist_id (str | None)

  • imported_from (str | None)

  • import_author (str | None)

  • frame_index (int | None)

  • is_model (bool | None)

  • model_id (str | None)

  • geometry (Geometry | None)

  • units (str | None)

to_dict()
Return type:

dict[str, Any]