toloka.client.TolokaClient.get_task_suites

Finds all task suites that match certain rules and returns them in an iterable object

Unlike find_task_suites, returns generator. Does not sort task suites. While iterating over the result, several requests to the Toloka server is possible.

## Parameters Description

Parameters Type Description
task_id Optional[str]

The task ID in suites generated automatically using "smart mixing". You will get task suites that contain the specified task.

pool_id Optional[str]

ID of the pool to get task suites from.

overlap Optional[int]

Suites with an overlap equal to the specified value.

id_lt Optional[str]

Task suites with an ID less than the specified value.

id_lte Optional[str]

Task suites with an ID less than or equal to the specified value.

id_gt Optional[str]

Task suites with an ID greater than the specified value.

id_gte Optional[str]

Task suites with an ID greater than or equal to the specified value.

created_lt Optional[datetime]

Task suites created before the specified date.

created_lte Optional[datetime]

Task suites created before or on the specified date.

created_gt Optional[datetime]

Task suites created after the specified date.

created_gte Optional[datetime]

Task suites created after or on the specified date.

overlap_lt Optional[int]

Suites with an overlap less than the specified value.

overlap_lte Optional[int]

Suites with an overlap less than or equal to the specified value.

overlap_gt Optional[int]

Suites with an overlap greater than the specified value.

overlap_gte Optional[int]

Suites with an overlap greater than or equal to the specified value.

• Yields:

The next object corresponding to the request parameters.

• Yield type:

results_list = [task_suite for task_suite in toloka_client.get_task_suites(pool_id='1')]