toloka.client.project.task_spec.TaskSpec
| Source code
TaskSpec( self, *, input_spec: Optional[Dict[str, FieldSpec]] = None, output_spec: Optional[Dict[str, FieldSpec]] = None, view_spec: Optional[ViewSpec] = None)
Task interface description and input and output data specifications.
Input and output data specifications are dictionaries. Field IDs are keys and field specifications are values.