Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Naomi Pentrel <[email protected]>
  • Loading branch information
sguequierre and npentrel authored Nov 3, 2023
1 parent 6101a9e commit ac10bd2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docs/program/apis/ml_training_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ Get training job data.

```python {class="line-numbers linkable-line-numbers"}
job_metadata = await ml_training_client.get_training_job(
id="INSERT YOUR JOB ID"
)
id="INSERT YOUR JOB ID")
```

For more information, see the [Python SDK Docs](https://python.viam.dev/autoapi/viam/app/ml_training_client/index.html#viam.app.ml_training_client.MLTrainingClient.get_training_job).
Expand All @@ -108,8 +107,7 @@ Get training job data for all jobs within an organization.

```python {class="line-numbers linkable-line-numbers"}
jobs_metadata = await ml_training_client.list_training_jobs(
org_id="INSERT YOUR ORG ID"
)
org_id="INSERT YOUR ORG ID")

first_job_id = jobs_metadata[1].id
```
Expand Down Expand Up @@ -140,8 +138,7 @@ Cancel the specified training job.

```python {class="line-numbers linkable-line-numbers"}
await ml_training_client.cancel_training_job(
id="INSERT YOUR JOB ID"
)
id="INSERT YOUR JOB ID")
```

For more information, see the [Python SDK Docs](https://python.viam.dev/autoapi/viam/app/ml_training_client/index.html#viam.app.ml_training_client.MLTrainingClient.cancel_training_job).
Expand Down

0 comments on commit ac10bd2

Please sign in to comment.