Method
Promotes a model version and/or algorithm to be the active served deployment version
REQUIRED |
KEY |
TYPE |
DESCRIPTION |
Yes |
deploymentId |
str |
A unique identifier for the deployment.
|
Yes |
modelVersion |
str |
A unique identifier for the model version.
|
No |
algorithm |
str |
The algorithm to use for the model version. If not specified, the algorithm will be inferred from the model version.
|
No |
modelDeploymentConfig |
dict |
The deployment configuration for the model to deploy.
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.
KEY |
TYPE |
DESCRIPTION |
success |
Boolean |
true if the call succeeded, false if there was an error |
TYPE |
WHEN |
DataNotFoundError |
`deploymentId` is not found. |
ConflictError |
The active deployment is trying to switch into an only offline deployable algorithm |