mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-03 12:41:13 +08:00
Update optuna_dashboard/app.py
Co-authored-by: Masashi Shibata <c-bata@users.noreply.github.com>
This commit is contained in:
1 parent
7b76558ebf
commit
e9b49a846a
1 file changed
+1
-3
@@ -214,9 +214,7 @@ def create_app(storage: BaseStorage) -> Bottle:
|
||||
|
||||
@app.get("/api/studies/<study_id:int>/param_importances")
|
||||
@handle_json_api_exception
|
||||
def get_param_importances(
|
||||
study_id: int,
|
||||
) -> BottleViewReturn:
|
||||
def get_param_importances(study_id: int) -> BottleViewReturn:
|
||||
# TODO(chenghuzi): add support for selecting params via query parameters.
|
||||
response.content_type = "application/json"
|
||||
objective_id = int(request.params.get("objective_id", 0))
|
||||
|
||||
Reference in new issue
Block a user