Skip to contents

Transition a model version's stage. This is a Databricks workspace version of the MLflow endpoint that also accepts a comment associated with the transition to be recorded.',

Usage

transition_model_stage(
  client,
  name,
  version,
  stage,
  archive_existing_versions,
  comment = NULL
)

modelRegistryTransitionStage(
  client,
  name,
  version,
  stage,
  archive_existing_versions,
  comment = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

name

Required. Name of the model.

version

Required. Version of the model.

stage

Required. Target stage of the transition.

archive_existing_versions

Required. Specifies whether to archive all current model versions in the target stage.

comment

User-provided comment on the action.

Details

MLflow endpoint: https://www.mlflow.org/docs/latest/rest-api.html#transition-modelversion-stage