toloka.client.search_requests.TaskSuiteSortItems
TaskSuiteSortItems(self, items=None)
Keys for sorting task suites in search results.
Parameters | Type | Description |
---|---|---|
items | Optional[List[SortItem]] | A list of sorting keys. Supported values:
|
Examples:
The example shows how to find task suites sorted by the creation date in the descending order. Task suites with equal creation dates are sorted by IDs in the descending order.
sort = toloka.client.search_requests.TaskSuiteSortItems(['-created', '-id'])result = toloka_client.find_task_suites(pool_id='1086170', sort=sort, limit=10)
Last updated: August 28, 2023