toloka.client.quality_control.QualityControl.add_action
| Source code
add_action( self, collector: CollectorConfig, action: RuleAction, conditions: List[RuleCondition])
Adds a quality control rule configuration.
See an example in the description of the QualityControl class.
Parameters | Type | Description |
---|---|---|
collector | CollectorConfig | A collector that provides statistics. |
conditions | List[RuleCondition] | Conditions based on statistics. |
action | RuleAction | An action performed if all conditions are met. |
Last updated: August 28, 2023