AssignmentsAcceptedCount

toloka.client.conditions.AssignmentsAcceptedCount | Source code

AssignmentsAcceptedCount(
self,
operator: CompareOperator,
value: Optional[int] = None
)

The number of assignments accepted from a Toloker.

AssignmentsAcceptedCount is used with collectors:

See also:

Examples:

pool = toloka.client.pool.Pool()
pool.quality_control.add_action(
collector=toloka.client.collectors.AnswerCount(),
conditions=[toloka.client.conditions.AssignmentsAcceptedCount > 0],
action=toloka.client.actions.SetSkill(skill_id='11294', skill_value=1),
)

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming