Toloka documentation

GroupViewV1

toloka.client.project.template_builder.view.GroupViewV1 | Source code

GroupViewV1(
    self,
    content: Optional[BaseComponent] = None,
    *,
    hint: Optional[Any] = None,
    label: Optional[Any] = None,
    validation: Optional[BaseComponent] = None,
    version: Optional[str] = '1.0.0'
)

Groups components visually into framed blocks.

Parameters Description

Parameters Type Description
content Optional[BaseComponent]

Content of a group block.

hint Optional[Any]

Explanation of the group heading. To insert a new line, use .

label Optional[Any]

Group heading.

validation Optional[BaseComponent]

Validation based on condition.