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 the descending order. Skills with equal creation dates are sorted by IDs in the ascending order.

sort = toloka.client.search_requests.SkillSortItems(['-created', 'id'])
result = toloka_client.find_skills(name='Image annotation', 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