RuleConfig

toloka.client.quality_control.QualityControl.QualityControlConfig.RuleConfig | Source code

RuleConfig(
self,
*,
action: Optional[RuleAction] = None,
conditions: Optional[List[RuleCondition]] = None
)

Rule conditions and an action.

The action is performed if conditions are met. Multiple conditions are combined with the AND operator.

Parameters description

ParametersTypeDescription
actionOptional[RuleAction]

The action.

conditionsOptional[List[RuleCondition]]

A list of conditions.

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