toloka.client.search_requests.ProjectSortItems
ProjectSortItems(self, items=None)
Keys for sorting projects in search results.
Parameters | Type | Description |
---|---|---|
items | Optional[List[SortItem]] | A list of sorting keys. Supported values:
|
Examples:
The example shows how to find active projects sorted by names in the descending order. Projects with equal names are sorted by IDs in the ascending order.
sort = toloka.client.search_requests.ProjectSortItems(['-public_name', 'id'])result = toloka_client.find_projects(status='ACTIVE', sort=sort, limit=50)
Last updated: August 28, 2023