patch_task

toloka.async_client.client.AsyncTolokaClient.patch_task | Source code

Changes a task overlap value.

Parameters Description

ParametersTypeDescription
task_idstr

The ID of the task.

overlapOptional[int]

The new overlap value.

infinite_overlapOptional[bool]
  • True — The task is assigned to all Tolokers. It is usually set for training and control tasks.
  • False — An overlap value specified for the task or for the pool is used.

Default value: False.

baseline_solutionsOptional[List[Task.BaselineSolution]]

Preliminary responses for dynamic overlap and aggregation of results by a skill. They are used to calculate a confidence level of the first responses from Tolokers.

known_solutionsOptional[List[BaseTask.KnownSolution]]

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.

message_on_unknown_solutionOptional[str]

A hint used in training tasks.

  • Returns:

    The task with updated fields.

  • Return type:

    Task

Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming