InputData

toloka.client.project.template_builder.data.InputData | Source code

InputData(
self,
path: Optional[Any] = None,
default: Optional[Any] = None
)

The input data.

For example, links to images that will be shown to Tolokers. In the Template Builder sandbox, you can set an example of input data.

Parameters Description

ParametersTypeDescription
pathOptional[Any]

Path to the property containing data. Dots are used as separators: path.to.some.element. To specify the path to the array element, specify its sequence number starting from zero, for example: items.0

defaultOptional[Any]

The value to be used as the default data. This value will be shown in the interface, so it might hide some placeholders, for example, in the field.text component.

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