Toloka documentation


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

    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

Parameters Type Description
condition Optional[BaseComponent]

The condition for which the inverse is returned.

hint Optional[Any]

Validation error message that the user will see.