update_project

toloka.client.TolokaClient.update_project | Source code

update_project(
self,
project_id: str,
project: Project
)

Updates all project parameters in Toloka.

Parameters description

ParametersTypeDescription
project_idstr

The ID of the project to be updated.

projectProject

The project with new parameters.

  • Returns:

    The project with updated parameters.

  • Return type:

    Project

Examples:

updated_project = toloka_client.get_project(project_id='92694')
updated_project.private_comment = 'example project'
updated_project = toloka_client.update_project(project_id=updated_project.id, project=updated_project)

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