From e9b49a846ac0e0bc20e39ea62c6faffde4034e46 Mon Sep 17 00:00:00 2001 From: Huzi Cheng Date: Thu, 3 Jun 2021 22:37:57 -0400 Subject: [PATCH] Update optuna_dashboard/app.py Co-authored-by: Masashi Shibata --- optuna_dashboard/app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/optuna_dashboard/app.py b/optuna_dashboard/app.py index 614b6309..95caac86 100644 --- a/optuna_dashboard/app.py +++ b/optuna_dashboard/app.py @@ -214,9 +214,7 @@ def create_app(storage: BaseStorage) -> Bottle: @app.get("/api/studies//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))