AnyConditionV1

toloka.client.project.template_builder.conditions.AnyConditionV1 | Source code

AnyConditionV1(
self,
conditions: Optional[Union[BaseComponent, List[BaseComponent]]] = None,
*,
hint: Optional[Any] = None,
version: Optional[str] = '1.0.0'
)

Checks that at least one nested condition is met.

For more information, see condition.any.

Parameters description

ParametersTypeDescription
conditionsOptional[Union[BaseComponent, List[BaseComponent]]]

A list of conditions.

hintOptional[Any]

A hint that is shown if the condition is not met.

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