mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-28 13:11:26 +08:00
Follow review comments
This commit is contained in:
1 parent
9170b8824f
commit
8f39413e9c
1 file changed
+2
-1
@@ -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