mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-20 13:00:32 +08:00
Update optuna_dashboard/artifact/_backend.py
Co-authored-by: Masashi Shibata <c-bata@users.noreply.github.com>
This commit is contained in:
co-authored by
Masashi Shibata
parent
6aa451a638
commit
695363e9e3
@@ -48,7 +48,7 @@ def get_artifact_path(
|
||||
trial: optuna.Trial,
|
||||
artifact_id: str,
|
||||
) -> str:
|
||||
"""API path to get artifact"""
|
||||
"""Get the URL path for a given artifact ID."""
|
||||
study_id = trial._study_id
|
||||
trial_id = trial._trial_id
|
||||
return f"/artifacts/{study_id}/{trial_id}/{artifact_id}"
|
||||
|
||||
Reference in New Issue
Block a user