Toloka documentation

InternalData

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

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

The data available only from within the task.

This data is not saved to the results. Use this data to calculate or store intermediate values.

Parameters Description

Parameters Type Description
path Optional[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

default Optional[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.