Toloka documentation

find_user_skills

toloka.client.TolokaClient.find_user_skills | Source code

Finds Toloker's skills that match certain criteria.

The number of returned Toloker's skills is limited. To find remaining skills call find_user_skills with updated search criteria.

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

Parameters Description

Parameters Type Description
user_id Optional[str]

The ID of a Toloker.

skill_id Optional[str]

The ID of a 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.

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]

Sorting options. Default: None.

limit Optional[int]

Returned skills limit. The maximum allowed limit is 1000.

  • Returns:

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

  • Return type:

    UserSkillSearchResult

Examples:

skills = toloka_client.find_user_skills(limit=10)

If there are skills exceeding the limit, then skills.has_more is set to True.