Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 809 Bytes

toloka.client.project.template_builder.conditions.EmptyConditionV1.md

File metadata and controls

24 lines (18 loc) · 809 Bytes

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

Parameters Type Description
data Optional[Any]

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

hint Optional[Any]

A hint that is shown if the condition is not met.