EmptyConditionV1

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

EmptyConditionV1(
self,
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

ParametersTypeDescription
dataOptional[Any]

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

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