Toloka documentation

patch_task_overlap_or_min

toloka.client.TolokaClient.patch_task_overlap_or_min

Stops assigning a task to users.

Parameters Description

Parameters Type Description
task_id str

The ID of the task.

overlap Optional[int]

Overlap value.

infinite_overlap Optional[bool]

Infinite overlap:

  • True — Assign the task to all users. It is useful for training tasks.
  • False — 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='1', infinite_overlap=True)

Note

You can't set infinite overlap in a regular pool.