toloka.client.TolokaClient.create_task_suite
| Source code
Creates a task suite in Toloka.
Usually, you don't need to create a task suite manually, because Toloka can group tasks into suites automatically.
Use this method if you need to group specific tasks together or to set different parameters in different task suites.
You can send a maximum of 100,000 requests of this kind per minute and 2,000,000 requests per day. To create several task suites at once use the create_task_suites method.
Parameters | Type | Description |
---|---|---|
task_suite | TaskSuite | A task suite to be created. |
operation_id | Optional[UUID] | The UUID of the operation that conforms to the RFC4122 standard. The UUID is used if Specify UUID to avoid accidental errors like Toloka operation duplication caused by network problems. If you send several requests with the same |
async_mode | Optional[bool] | Request processing mode:
Default value: |
allow_defaults | Optional[bool] | Active overlap setting:
Default value: |
open_pool | Optional[bool] | Open the pool immediately after creating a task suite, if the pool is closed. |
Returns:
Created task suite.
Return type:
Examples:
new_task_suite = toloka.client.TaskSuite( pool_id='1086170', tasks=[toloka.client.Task(input_values={'label': 'Cats vs Dogs'})], overlap=2)toloka_client.create_task_suite(new_task_suite)
Last updated: August 28, 2023