patch_task_overlap_or_min

toloka.client.TolokaClient.patch_task_overlap_or_min | Source code

Stops assigning a task to Tolokers.

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.

  • Returns:

    The task with updated fields.

  • Return type:

    Task

Examples:

Setting an infinite overlap for a training task.

toloka_client.patch_task_overlap_or_min(task_id='00001092da--61ef01d5825234636bb088eb',
overlap=0, infinite_overlap=False
)

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