// This file is autogenerated, DO NOT EDIT
// ml/trained-models/apis/put-trained-models-aliases.asciidoc:99

[source, python]
----
resp = client.ml.put_trained_model_alias(
    model_id="flight-delay-prediction-1580004349800",
    model_alias="flight_delay_model",
    reassign=True,
)
print(resp)
----
