> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update TrainingSet

The following example shows how to update your `TrainingSet`:

```python theme={null}
ts = TrainingSetClient.get_training_set("my-training-set")

ts.description = "widget transactions"
ts.metadata.update({"region": "west"})

updated = TrainingSetClient.update_training_set(ts)
```

## Update TrainingSetVersion

The following example shows how to update your TrainingSetVersion:

```python theme={null}
tsv = TrainingSetClient.get_training_set_version("my-training-set", 2)

tsv.description = "2020 transactions"
tsv.metadata.update({"status": "final"})

updated = TrainingSetClient.update_training_set_version(tsv)
```
