ConsensusReviewTaskStatus Objects
UNKNOWN
Returned when the Encord platform reports a task status that this SDK version does not recognize._missing_
ConsensusReviewStage Objects
stage_type
The Review stage for Consensus Workflows.get_tasks
assignee- Only return tasks assigned to this user, or to any of these users. Pass user emails.data_hash- Only return tasks for this data unit, or for any of these data units.dataset_hash- Only return tasks for data units in this dataset, or in any of these datasets.data_title- Only return tasks whose data unit title contains this text.status- Only return tasks with this status, or with any of these statuses.
Iterable[ConsensusReviewTask]- The matching tasks. Tasks are fetched page by page as you iterate. Each task’soptionsare the label branches of its annotators, with the annotator, branch name, and label hash.
ConsensusReviewTask Objects
status(ConsensusReviewTaskStatus): The status of the review task.data_hash(UUID): Unique ID for the data unit.data_title(str): Name of the data unit.assignee(Optional[str]): The user assigned to the task.options(List[ConsensusReviewOption]): Specify the labels for the task.
approve: Approves a task.reject: Rejects a task.assign: Assigns a task to a user.release: Releases a task from the current user.move: Moves the review task to another stage in the workflow.
approve
main label row.
Arguments:
assignee- The email of the user to assign the task to while approving it.retain_assignee- IfTrue, keep the task’s current assignee while approving it. Ignored ifassigneeis provided. Raises an error if the task has no assignee.bundle- If not provided, the action is performed immediately. If provided, the action is deferred and performed together with the other operations in the bundle.
reject
assignee- The email of the user to assign the task to while rejecting it.retain_assignee- IfTrue, keep the task’s current assignee while rejecting it. Ignored ifassigneeis provided. Raises an error if the task has no assignee.bundle- If not provided, the action is performed immediately. If provided, the action is deferred and performed together with the other operations in the bundle.
assign
assignee- The email of the user to assign the task to.bundle- If not provided, the action is performed immediately. If provided, the action is deferred and performed together with the other operations in the bundle.
release
bundle- If not provided, the action is performed immediately. If provided, the action is deferred and performed together with the other operations in the bundle.
move
destination_stage_uuid- The UUID of the stage to move the task to.bundle- If not provided, the action is performed immediately. If provided, the action is deferred and performed together with the other operations in the bundle.

