TotalSubmittedCount

toloka.client.conditions.TotalSubmittedCount | Source code

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

The number of assignments submitted by a Toloker.

TotalSubmittedCount is used with collectors:

Examples:

pool = toloka.client.pool.Pool()
pool.quality_control.add_action(
collector=toloka.client.collectors.AssignmentSubmitTime(
fast_submit_threshold_seconds=20
),
conditions=[toloka.client.conditions.FastSubmittedCount > 3,
toloka.client.conditions.TotalSubmittedCount <= 5],
action=toloka.client.actions.RejectAllAssignments()
)

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