ToggleActionV1
toloka.client.project.template_builder.actions.ToggleActionV1
| Source code
ToggleActionV1(
self,
data: Optional[BaseComponent] = None,
*,
version: Optional[str] = '1.0.0'
)
The component changes the value in the data from true to false and vice versa.
Parameters Description
Parameters | Type | Description |
---|---|---|
data |
Optional[BaseComponent] | Data in which the value will be changed. The data type must be boolean. |