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 data is empty or undefined.

For more information, see condition.empty.

Parameters description

ParametersTypeDescription
dataOptional[Any]

Data to check. If not specified, data of the parent component is checked.

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