Toloka documentation


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

    data: Optional[Any] = None,
    hint: Optional[Any] = None,
    version: Optional[str] = '1.0.0'

Checks that the data is empty (undefined).

Returns false if the data received a value.

You can check: Template data (data.). Data for the input field (field.) that contains condition.empty.

Parameters Description

Parameters Type Description
data Optional[Any]

Data to check. If not specified, data is checked in the component that contains condition.empty.

hint Optional[Any]

Validation error message that a Toloker will see.