// This file is autogenerated, DO NOT EDIT
// ml/anomaly-detection/apis/upgrade-job-model-snapshot.asciidoc:83

[source, python]
----
resp = client.ml.upgrade_job_snapshot(
    job_id="low_request_rate",
    snapshot_id="1828371",
    timeout="45m",
    wait_for_completion=True,
)
print(resp)
----
