Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.31 KB

File metadata and controls

38 lines (29 loc) · 1.31 KB

Annotation

Properties

Name Type Description Notes
doc_name str [optional]
start int The start index of the annotation span
end int The first index after the annotation span
label_name str The pretty name of the annotation concept
label_id str The code of the annotation concept
categories List[str] [optional]
accuracy float [optional]
text str [optional]
meta_anns Dict[str, object] [optional]
athena_ids List[Dict[str, object]] [optional]

Example

from cms_client.models.annotation import Annotation

# TODO update the JSON string below
json = "{}"
# create an instance of Annotation from a JSON string
annotation_instance = Annotation.from_json(json)
# print the JSON string representation of the object
print(Annotation.to_json())

# convert the object into a dict
annotation_dict = annotation_instance.to_dict()
# create an instance of Annotation from a dict
annotation_from_dict = Annotation.from_dict(annotation_dict)

[Back to Model list] [Back to API list] [Back to README]