toloka.client.actions.ApproveAllAssignments
| Source code
ApproveAllAssignments(self)
Accepts all Toloker's assignments in the pool.
Examples:
Accept all assignments if a Toloker gives correct responses for control tasks. Note, that the pool must be configured with non-automatic response acceptance.
new_pool = toloka.client.pool.Pool()new_pool.quality_control.add_action( collector=toloka.client.collectors.GoldenSet(history_size=5), conditions=[toloka.client.conditions.GoldenSetCorrectAnswersRate > 90], action=toloka.client.actions.ApproveAllAssignments())
Last updated: August 28, 2023