Toloka documentation

ArrayFileSpec

toloka.client.project.field_spec.ArrayFileSpec | Source code

ArrayFileSpec(
    self,
    *,
    required: Optional[bool] = True,
    hidden: Optional[bool] = False,
    min_size: Optional[int] = None,
    max_size: Optional[int] = None
)

A file array field specification (only for output data)

Parameters Description

Parameters Type Description
required Optional[bool]

Whether the object or input field is required

hidden Optional[bool]

Whether or not to hide the input value field from the user

min_size Optional[int]

Minimum number of elements in the array

max_size Optional[int]

Maximum number of elements in the array