Toloka documentation

get_user_skills

toloka.client.TolokaClient.get_user_skills

Finds all user skills that match certain rules and returns them in an iterable object

UserSkill describe the skill value for a specific performer. Unlike find_user_skills, returns generator. Does not sort user skills. While iterating over the result, several requests to the Toloka server is possible.

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.

  • Yields:

    The next object corresponding to the request parameters.

  • Yield type:

    Generator[UserSkill, None, None]

Examples:

results_list = [skill for skill in toloka_client.get_user_skills()]