Toloka documentation


toloka.client.task_suite.TaskSuite | Source code

    pool_id: Optional[str] = None,
    tasks: Optional[List[BaseTask]] = ...,
    reserved_for: Optional[List[str]] = None,
    unavailable_for: Optional[List[str]] = None,
    issuing_order_override: Optional[float] = None,
    mixed: Optional[bool] = None,
    traits_all_of: Optional[List[str]] = None,
    traits_any_of: Optional[List[str]] = None,
    traits_none_of_any: Optional[List[str]] = None,
    longitude: Optional[float] = None,
    latitude: Optional[float] = None,
    id: Optional[str] = None,
    remaining_overlap: Optional[int] = None,
    automerged: Optional[bool] = None,
    created: Optional[datetime] = None

A set of tasks issued to the Toloker at a time

TaskSuite can contain one or more tasks. The execution price is charged for one TaskSuite. Tolokers receive exactly one TaskSuite when they take on your task.

Parameters Description

Parameters Type Description
pool_id Optional[str]

The ID of the pool that task suite are uploaded to.

tasks Optional[List[BaseTask]]

Data for the tasks.

reserved_for Optional[List[str]]

IDs of Tolokers who will have access to the task suite.

unavailable_for Optional[List[str]]

IDs of Tolokers who shouldn't have access to the task suite.

issuing_order_override Optional[float]

The priority of a task suite among other sets in the pool. Defines the order in which task suites are assigned to Tolokers. The larger the parameter value, the higher the priority. This parameter can be used if the pool has issue_task_suites_in_creation_order: true. Allowed values: from -99999.99999 to 99999.99999.

mixed Optional[bool]

Type of operation for creating a task suite:

  • True - Automatically with the "smart mixing" option (for details, see Toloka requester's guide).
  • False - Manually.
traits_all_of Optional[List[str]]
traits_any_of Optional[List[str]]
traits_none_of_any Optional[List[str]]
longitude Optional[float]

The longitude of the point on the map for the task suite.

latitude Optional[float]

The latitude of the point on the map for the task suite.

id Optional[str]

ID of a task suite. Read only field.

remaining_overlap Optional[int]

How many times will this Task Suite be issued to Tolokers. Read only field.

automerged Optional[bool]

The task suite flag is created after task merging. Read Only field. Value:

  • True - The task suite is generated as a result of merging identical tasks.
  • False - A standard task suite created by "smart mixing" or by the requester.
created Optional[datetime]

The UTC date and time when the task suite was created. Read Only field.

Methods Summary

Method Description
add_base_task None