CheckboxFieldV1

toloka.client.project.template_builder.fields.CheckboxFieldV1 | Source code

CheckboxFieldV1(
self,
data: Optional[BaseComponent] = None,
*,
disabled: Optional[Union[BaseComponent, bool]] = None,
preserve_false: Optional[Union[BaseComponent, bool]] = None,
hint: Optional[Any] = None,
label: Optional[Any] = None,
validation: Optional[BaseComponent] = None,
version: Optional[str] = '1.0.0'
)

Checkbox.

Parameters Description

ParametersTypeDescription
dataOptional[BaseComponent]

Data with values that will be processed or changed.

disabledOptional[Union[BaseComponent, bool]]

Property that disables the component. If True, the component will be unavailable.

preserve_falseOptional[Union[BaseComponent, bool]]

Property that specifies whether to return false values in the results. By default, if the component returns False, this result will not be added to the output. To add False to the results, specify preserve_false=True.

hintOptional[Any]

Hint text.

labelOptional[Any]

Label above the component.

validationOptional[BaseComponent]

Validation based on condition.

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