SkillId

toloka.client.conditions.SkillId | Source code

SkillId(
self,
operator: IdentityOperator,
value: Optional[str] = None
)

The ID of a changed skill which caused access blocking.

SkillId provides details if the PoolAccessRevokedReason condition equals SKILL_CHANGE.

SkillId is used with collectors:

Examples:

pool = toloka.client.pool.Pool()
pool.quality_control.add_action(
collector=toloka.client.collectors.UsersAssessment(),
conditions=[toloka.client.conditions.PoolAccessRevokedReason ==
toloka.client.conditions.PoolAccessRevokedReason.SKILL_CHANGE,
toloka.client.conditions.SkillId == '11294'
],
action=toloka.client.actions.ChangeOverlap(delta=1, open_pool=True),
)

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