toloka.client.TolokaClient.create_skill
| Source code
Creates a new skill.
You can send a maximum of 10 requests of this kind per minute and 100 requests per day.
Parameters | Type | Description |
---|---|---|
name | Optional[str] | The skill name. |
public_name | Optional[Dict[str, str]] | The skill name visible to Tolokers. The name can be provided in several languages. |
public_requester_description | Optional[Dict[str, str]] | The skill description visible to Tolokers. The description can be provided in several languages. |
private_comment | Optional[str] | Comments visible to a requester. |
hidden | Optional[bool] | Visibility of the skill values to Tolokers:
Default value: |
skill_ttl_hours | Optional[int] | A lifetime in hours. If the skill value assigned to a Toloker is not updated for |
training | Optional[bool] | Whether the skill is related to a training pool:
|
owner | Optional[Owner] | The skill owner. |
id | - | The skill ID. Read-only field. |
created | - | The UTC date and time when the skill was created. Read-only field. |
Returns:
The skill with updated read-only fields.
Return type:
Examples:
new_skill = toloka_client.create_skill( name='Area selection of road signs', public_requester_description={ 'EN': 'Tolokers annotate road signs', 'FR': "Les Tolokers annotent les signaux routier", },)print(new_skill.id)
Last updated: August 28, 2023