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

ParametersTypeDescription
dataOptional[BaseComponent]

Data in which the value will be changed. The data type must be boolean.

Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming