toloka.client.search_requests.UserSkillSortItems
UserSkillSortItems(self, items=None)
Keys for sorting skills in search results.
Parameters | Type | Description |
---|---|---|
items | Optional[List[SortItem]] | A list of sorting keys. Supported values:
|
Examples:
The example shows how to find Tolokers' skills sorted by creation date in descending order. Skills with equal creation dates are sorted by IDs in ascending order.
sort = toloka.client.search_requests.UserSkillSortItems(['-created', 'id'])result = toloka_client.find_user_skills(skill_id=my_useful_skill_id, sort=sort, limit=10)