Toloka documentation

SubArrayConditionV1

toloka.client.project.template_builder.conditions.SubArrayConditionV1 | Source code

SubArrayConditionV1(
    self,
    data: Optional[Any] = None,
    parent: Optional[Any] = None,
    *,
    hint: Optional[Any] = None,
    version: Optional[str] = '1.0.0'
)

Checks that the array in data is a subarray for parent.

Parameters Description

Parameters Type Description
data Optional[Any]

Subarray that is checked for in parent.

parent Optional[Any]

The array where data is searched for.

hint Optional[Any]

Validation error message that the user will see.