end_run: End a Run

View source: R/runs.R

end_runR Documentation

End a Run

Description

Terminates a run. Attempts to end the current active run if run_id is not specified.

Usage

end_run(
  status = c("FINISHED", "FAILED", "KILLED"),
  run_id = get_active_run_id(),
  client = mlflow_client()
)

Arguments

status

Updated status of the run. Defaults to FINISHED. Can also be set to "FAILED" or "KILLED".

run_id

A run uuid. Automatically inferred if a run is currently active.

client

An MLFlow client. Defaults to NULL and will be auto-generated.

Value

Metadata on the newly-ended run.


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