Item

toloka.client.project.template_builder.view.LabeledListViewV1.Item | Source code

Item(
self,
content: Optional[BaseComponent] = None,
label: Optional[Any] = None,
*,
center_label: Optional[Union[BaseComponent, bool]] = None,
hint: Optional[Any] = None
)

A labeled list item.

Parameters description

ParametersTypeDescription
contentOptional[BaseComponent]

The content of the item.

labelOptional[Any]

An item label.

center_labelOptional[Union[BaseComponent, bool]]

Label vertical alignment.

  • True — The label is centered.
  • False — The label is aligned to the top of the item content.

Default value: False.

hintOptional[Any]

A hint.

Last updated: August 28, 2023

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