EqualsConditionV1

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

EqualsConditionV1(
self,
to: Optional[Any] = None,
data: Optional[Any] = None,
*,
hint: Optional[Any] = None,
version: Optional[str] = '1.0.0'
)

Checks whether two values are equal.

For more information, see condition.equals.

Parameters description

ParametersTypeDescription
toOptional[Any]

The value to compare with.

dataOptional[Any]

The first value. If it is not specified, then the value returned by the parent component is used.

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