Toloka documentation

update_training

toloka.client.TolokaClient.update_training | Source code

update_training(
    self,
    training_id: str,
    training: Training
)

Makes changes to the training

Parameters Description

Parameters Type Description
training_id str

ID of the training that will be changed.

training Training

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

  • Returns:

    Training object with all fields.

  • Return type:

    Training

Examples:

If you want to update any configurations of the existing training.

updated_training = toloka_client.update_training(training_id=old_training_id, training=new_training_object)