toloka.client.task_suite.TaskSuite
| Source code
TaskSuite( self, *, infinite_overlap=None, overlap=None, 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 assigned to a Toloker at once.
A task suite contains one or more tasks. Tolokers are paid after completing all tasks in a task suite.
Parameters | Type | Description |
---|---|---|
pool_id | Optional[str] | The ID of a pool that the task suite belongs to. |
tasks | Optional[List[BaseTask]] | The tasks. |
reserved_for | Optional[List[str]] | IDs of Tolokers who have access to the task suite. |
unavailable_for | Optional[List[str]] | IDs of Tolokers who don't have access to the task suite. |
issuing_order_override | Optional[float] | The priority of a task suite. It influences the order of assigning task suites to Tolokers in pools with the |
mixed | Optional[bool] | The way of grouping tasks to create the task suite.
Default value: |
traits_all_of | Optional[List[str]] | The task suite can be assigned to Tolokers who have all of the specified traits. |
traits_any_of | Optional[List[str]] | The task suite can be assigned to Tolokers who have any of the specified traits. |
traits_none_of_any | Optional[List[str]] | The task suite can not be assigned to Tolokers who have any of the specified traits. |
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] | The ID of the task suite. Read-only field. |
remaining_overlap | Optional[int] | The number of times left for this task suite to be assigned to Tolokers. Read-only field. |
automerged | Optional[bool] |
|
created | Optional[datetime] | The UTC date and time when the task suite was created. Read-only field. |
Method | Description |
---|---|
add_base_task | None |
Last updated: August 28, 2023