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 | 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. |