SkillSortItems

toloka.client.search_requests.SkillSortItems

SkillSortItems(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' — A skill creation date.

Examples:

The example shows how to find 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.SkillSortItems(['-created', 'id'])
result = toloka_client.find_skills(name='Image annotation', sort=sort, limit=10)
Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming