Markers

TagmeClientAdvanced.get_markup_task(task_id: str, )MarkupTask

Get current assignment to markup in task.

Parameters task_id – task id.

Returns

markup task.

TagmeClientAdvanced.get_tasks_for_markup(page: int | None = None, size: int | None = None, query: str | None = None, ) → List[TaskflowTaskData]

Get all task available for markup.

Parameters

* page – optional page number for pagination. Defaults to None.

* size – optional page size for pagination. Defaults to None.

* query – optional search query. Defaults to None.

Returns

list of tasks for markup.

TagmeClientAdvanced.skip_markup_task(task_id: str, assignment_id: str, ) → None

Skip markup task,

Parameters

* task_id – task id to skip.

* assignment_id – assignment id to skip.

TagmeClientAdvanced.submit_markup_task(task_id: str, assignment_id: str, markup_result: Dict[str, Any], ) → None

Submit markup task.

Parameters

* task_id – task id to submit.

* assignment_id – assignment id to submit.

* markup_result – result of markup.