Toloka documentation

find_user_skills

toloka.client.TolokaClient.find_user_skills

Finds all user skills that match certain rules

UserSkill describe the skill value for a specific performer. As a result, it returns an object that contains the first part of the found user skills and whether there are any more results. It is better to use the "get_user_skills" method, they allow to iterate trought all results and not just the first output.

Parameters Description

Parameters Type Description
user_id Optional[str]

Performer ID.

skill_id Optional[str]

Skill ID.

id_lt Optional[str]

Skills with an ID less than the specified value.

id_lte Optional[str]

Skills with an ID less than or equal to the specified value.

id_gt Optional[str]

Skills with an ID greater than the specified value.

id_gte Optional[str]

Skills with an ID 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.

modified_lt Optional[datetime]

Skills that changed before the specified date.

modified_lte Optional[datetime]

Skills that changed before the specified date.

modified_gt Optional[datetime]

Skills changed after the specified date.

modified_gte Optional[datetime]

Skills created on or after the specified date.

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

How to sort result. Defaults to None.

limit Optional[int]

Limit on the number of results returned.

  • Returns:

    The first limit user skills in items. And a mark that there is more.

  • Return type:

    UserSkillSearchResult

Examples:

toloka_client.find_user_skills(limit=10)

If method finds more objects than custom or system limit allows to operate, it will also show an indicator has_more=True.