mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-11 12:30:25 +08:00
Follow review comments
This commit is contained in:
@@ -101,9 +101,10 @@ def create_app(
|
||||
|
||||
@app.get("/api/studies")
|
||||
@json_api_view
|
||||
def list_study_summaries() -> dict[str, Any]:
|
||||
def list_studies() -> dict[str, Any]:
|
||||
studies = get_studies(storage)
|
||||
serialized = [serialize_frozen_study(s) for s in studies]
|
||||
# TODO(umezawa): Rename `study_summaries` to `studies`.
|
||||
return {
|
||||
"study_summaries": serialized,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user