toloka.client.task.BaseTask | Source code
BaseTask(self,*,input_values: Optional[Dict[str, Any]] = None,known_solutions: Optional[List[KnownSolution]] = None,message_on_unknown_solution: Optional[str] = None,id: Optional[str] = None,origin_task_id: Optional[str] = None)
A base class for tasks.
A dictionary with input data for a task. Input field names are keys in the dictionary.
A list of all responses considered correct. It is used with control and training tasks. If there are several output fields, then you must specify all their correct combinations.
A hint used in training tasks.
The ID of a task.
The ID of a parent task. This parameter is set if the task was created by copying.