Toloka documentation

find_skills

toloka.client.TolokaClient.find_skills | Source code

Finds skills that match certain criteria.

The number of returned skills is limited. To find remaining skills call find_skills with updated search criteria.

To iterate over all matching skills you may use the get_skills method.

Parameters Description

Parameters Type Description
name Optional[str]

The name of the skill.

id_lt Optional[str]

Skills with IDs less than the specified value.

id_lte Optional[str]

Skills with IDs less than or equal to the specified value.

id_gt Optional[str]

Skills with IDs greater than the specified value.

id_gte Optional[str]

Skills with IDs greater than or equal to the specified value.

created_lt Optional[datetime]

Skills created before the specified date.

created_lte Optional[datetime]

Skills created before or on the specified date.

created_gt Optional[datetime]

Skills created after the specified date.

created_gte Optional[datetime]

Skills created on or after the specified date.

sort Union[List[str], SkillSortItems, None]

Sorting options. Default: None.

limit Optional[int]

Returned skills limit. The maximum allowed limit is 100.

  • Returns:

    Found skills and a flag showing whether there are more matching skills exceeding the limit.

  • Return type:

    SkillSearchResult

Examples:

The example shows how to find ten most recently created skills.

toloka_client.find_skills(sort=['-created', '-id'], limit=10)