BarsLayoutV1

toloka.client.project.template_builder.layouts.BarsLayoutV1 | Source code

BarsLayoutV1(
self,
content: Optional[BaseComponent] = None,
*,
bar_after: Optional[BaseComponent] = None,
bar_before: Optional[BaseComponent] = None,
validation: Optional[BaseComponent] = None,
version: Optional[str] = '1.0.0'
)

A layout with top and bottom bars.

For more information, see layout.bars.

Parameters description

ParametersTypeDescription
contentOptional[BaseComponent]

The main content.

bar_afterOptional[BaseComponent]

The bar displayed below the main content.

bar_beforeOptional[BaseComponent]

The bar displayed above the main content.

validationOptional[BaseComponent]

Validation rules.

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