UserSkillSortItems

toloka.client.search_requests.UserSkillSortItems

UserSkillSortItems(self, items=None)

Keys for sorting skills in search results.

Parameters description

ParametersTypeDescription
itemsOptional[List[SortItem]]

A list of sorting keys. Supported values:

  • 'id' — The ID of a skill.
  • 'created' — The date when a skill was created.
  • 'modified' — The date when a skill was modified.

Examples:

The example shows how to find Tolokers' skills sorted by creation date in the descending order. Skills with equal creation dates are sorted by IDs in the ascending order.

sort = toloka.client.search_requests.UserSkillSortItems(['-created', 'id'])
result = toloka_client.find_user_skills(skill_id='11294', sort=sort, limit=10)

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming