CheckboxGroupFieldV1

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

CheckboxGroupFieldV1(
self,
data: Optional[BaseComponent] = None,
options: Optional[Union[BaseComponent, List[Union[BaseComponent, GroupFieldOption]]]] = 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'
)

A group of options for selecting one or more responses.

Parameters Description

ParametersTypeDescription
dataOptional[BaseComponent]

Data with values that will be processed or changed.

optionsOptional[Union[BaseComponent, List[Union[BaseComponent, GroupFieldOption]]]]

Options, where value is the key that the option controls, and label is the text near the option.

disabledOptional[Union[BaseComponent, bool]]

If `True', the options are inactive.

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