Toloka documentation

update_project

toloka.client.TolokaClient.update_project | Source code

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

Makes changes to the project

Parameters Description

Parameters Type Description
project_id str

Project ID that will be changed.

project Project

A project object with all the fields: those that will be updated and those that will not.

  • Returns:

    Project object with all fields.

  • Return type:

    Project

Examples:

updated_project = toloka_client.update_project(project_id=old_project.id, project=new_project_object)