// This file is autogenerated, DO NOT EDIT
// ml/common/apis/set-upgrade-mode.asciidoc:102

[source, python]
----
resp = client.ml.set_upgrade_mode(
    enabled=False,
    timeout="10m",
)
print(resp)
----
