Toloka documentation

Label

toloka.client.project.template_builder.fields.TextAnnotationFieldV1.Label | Source code

Label(
    self,
    label: Optional[Union[BaseComponent, str]] = None,
    value: Optional[Union[BaseComponent, str]] = None
)

Parameters Description

Parameters Type Description
label Optional[Union[BaseComponent, str]]

Specify the category name in the label property.

value Optional[Union[BaseComponent, str]]

Specify the category value in the value property.