NotConditionV1

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

NotConditionV1(
self,
condition: Optional[BaseComponent] = None,
*,
hint: Optional[Any] = None,
version: Optional[str] = '1.0.0'
)

Returns the inverse of the specified condition.

For example, if the specified condition is met (returns true), then condition.not will return false.

Parameters Description

ParametersTypeDescription
conditionOptional[BaseComponent]

The condition for which the inverse is returned.

hintOptional[Any]

Validation error message that a Toloker will see.

Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming