patch_task

toloka.client.TolokaClient.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

Examples:

toloka_client.patch_task(task_id='000012bb84--62d80429f20bf20e50f36a27', overlap=5)

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