Update optuna_dashboard/artifact/_backend.py

Co-authored-by: Masashi Shibata <c-bata@users.noreply.github.com>
This commit is contained in:
keisuke umezawa
2023-03-22 18:11:50 +09:00
committed by GitHub
co-authored by Masashi Shibata
parent 6aa451a638
commit 695363e9e3
+1 -1
View File
@@ -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}"