Results
download_table_results
TagmeClientAdvanced.download_table_results(task_id: str, date_from: str | None = None, date_to: str | None = None, file_format: ExportFormat = ExportFormat.CSV, organization_id: str | None = None, ) → None
Get table with markup results and save to file.
Parameters |
* * * * |
download_task_results
TagmeClientAdvanced.download_task_results(task_id: str, destination: str | Path, organization_id: str | None = None, ) → None
Get task assignments’ results and save to file.
Parameters |
* * * |
get_markup_result
TagmeClientAdvanced.get_markup_result(assignment_id: str, organization_id: str, ) → MarkupResult | None
Get result of assignment markup.
Parameters |
* * |
Returns |
object which contains information about markup task result. |
get_markup_results
TagmeClientAdvanced.get_markup_results(task_id: str, organization_id: str, marker_ids: List[str] | None = None, file_name: str | None = None, file_ids: List[str] | None = None, statuses: List[str] | None = None, file_types: List[FileType] | None = None, submitted_ats: List[date] | None = None, assignment_ids: List[str] | None = None, page: int | None = None, size: int | None = None, sort_field: MarkupResultSortField | None = None, sort_order: SortOrder | None = None, ) → MarkupResults
Get results of markup.
Parameters |
* * * * * * * * * * * * * |
Returns |
markup results. |
get_task_assignments
TagmeClientAdvanced.get_task_assignments(task_id: str, date_from: str | None = None, date_to: str | None = None, updated_date_from: str | None = None, updated_date_to: str | None = None, with_input_data: bool = False, join_markers: bool = False, control_only: bool = False, organization_id: str | None = None, msk_time: bool = True, tqdm_on: bool = False, with_assignment_link: bool = False, ) → List[Assignment]
Get list of task assignments.
Parameters |
* * * * * * * * * |
Returns |
list of assignments for task. |
get_task_assignments_df
TagmeClientAdvanced.get_task_assignments_df(task_id: str, date_from: str | None = None, date_to: str | None = None, with_input_data: bool = False, organization_id: str | None = None, msk_time: bool = True, with_assignment_link: bool = False, ) → Any
Get pandas.DataFrame which contains task assignments.
Parameters |
* * * * * * |
Returns |
pandas.DataFrame with task assignments. |
get_task_results
TagmeClientAdvanced.get_task_results(task_id: str, organization_id: str | None = None, ) → List[TaskResult]
(deprecated) Get markup result for task. Use ‘get_task_assignments’ instead.
Parameters |
* * |
Returns |
list of task assignments’ results. |
get_task_results_flat
TagmeClientAdvanced.get_task_results_flat(task_id: str, join_markers: bool = False, organization_id: str | None = None, ) → List[Assignment]
(deprecated) Get markup result for task in new format. Use ‘get_task_assignments’ instead.
Parameters |
* * * |
Returns |
list of task assignments’ results. |
get_task_src_flat
TagmeClientAdvanced.get_task_src_flat(task_id: str, organization_id: str | None = None, ) → List[Dict[str, Any]]
Get rows of task data. Contains file data:
-
hints (HINT:<field name>)
-
premarkup (GOLDEN:<field name>)
-
premarkup (PREMARKUP:<field name>)
-
input data (INPUT:<field name>)
Parameters |
* * |
Returns |
list of rows with task data. |
review_markup
TagmeClientAdvanced.review_markup(review: MarkupReview, organization_id: str, ) → None
Leave review on markup task.
Parameters |
* * |
review_multiple_markups
TagmeClientAdvanced.review_multiple_markups(reviews: List[MarkupReview], organization_id: str, ) → MarkupReviewResult
Leave reviews on multiple markup tasks.
Parameters |
* * |