ClassicViewSpec

toloka.client.project.view_spec.ClassicViewSpec | Source code

ClassicViewSpec(
self,
*,
settings: Optional[ViewSpec.Settings] = None,
script: Optional[str] = None,
markup: Optional[str] = None,
styles: Optional[str] = None,
assets: Optional[Assets] = None
)

A task interface defined with HTML, CSS and JS.

For more information, see the guide.

Parameters description

ParametersTypeDescription
markupOptional[str]

HTML markup of the task interface.

stylesOptional[str]

CSS for the task interface.

scriptOptional[str]

JavaScript code for the task interface.

assetsOptional[Assets]

Links to external files.

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