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.

ArrayFileSpec is used for output data only.

Parameters description

ParametersTypeDescription
requiredOptional[bool]

Whether a field is required.

Default value: True.

hiddenOptional[bool]

Whether to hide an input field from Tolokers. Output fields can't be hidden.

Default value: False.

min_sizeOptional[int]

The minimum number of elements in the array.

max_sizeOptional[int]

The maximum number of elements in the array.

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