TextAnnotationHotkeysPluginV1

toloka.client.project.template_builder.plugins.TextAnnotationHotkeysPluginV1 | Source code

TextAnnotationHotkeysPluginV1(
self,
labels: Optional[Union[BaseComponent, List[str]]] = None,
remove: Optional[Union[BaseComponent, str]] = None,
*,
version: Optional[str] = '1.0.0'
)

Use this to set keyboard shortcuts for the field.text-annotation component.

Parameters Description

ParametersTypeDescription
labelsOptional[Union[BaseComponent, List[str]]]

Keyboard shortcuts for selecting categories. They're assigned to buttons with categories in the order they're shown.

removeOptional[Union[BaseComponent, str]]

Use this property to allow a Toloker to deselect an entire line or part of it. The key that you assign to this property will deselect.

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