update_skill

toloka.client.TolokaClient.update_skill | Source code

update_skill(
self,
skill_id: str,
skill: Skill
)

Updates all skill parameters in Toloka.

Parameters description

ParametersTypeDescription
skill_idstr

The ID of the skill to be updated.

skillSkill

The skill with new parameters.

  • Returns:

    The skill with updated parameters.

  • Return type:

    Skill

Examples:

updated_skill = toloka_client.get_skill(skill_id='14486')
updated_skill.hidden = False
toloka_client.update_skill(skill_id=updated_skill.id, skill=updated_skill)

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