get_latest_versions: Get latest model versions

View source: R/registry.R

get_latest_versionsR Documentation

Get latest model versions

Description

Retrieves a list of the latest model versions for a given model.

Usage

get_latest_versions(
  name,
  stages = list("None", "Archived", "Staging", "Production"),
  client = mlflow_client()
)

Arguments

name

Name of the model.

stages

A list of desired stages. If the input list is missing, return latest versions for ALL_STAGES.

client

An MLFlow client. Will be auto-generated if omitted.

Value

A list of metadata on the latest versions of a registered model.


collegevine/lightMLFlow documentation built on Jan. 16, 2024, 5:52 a.m.