Toloka documentation

FileSpec

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

FileSpec(
    self,
    *,
    required: Optional[bool] = True,
    hidden: Optional[bool] = False
)

A file 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 to hide the input field from Tolokers.