optuna_dashboard.artifact.get_artifact_path

optuna_dashboard.artifact.get_artifact_path(study_or_trial, artifact_id)

Get the URL path for a given artifact ID.

Parameters:
  • study_or_trial (Trial | Study) – A Trial object, or a Study object.

  • artifact_id (str) – An artifact ID.

Returns:

A URL path to the artifact.

Return type:

str