mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-29 13:20:48 +08:00
Fix lint error
This commit is contained in:
1 parent
b415eaf6d6
commit
6ddc855e8a
1 file changed
+1
-1
@@ -61,7 +61,7 @@ def get_param_importance_from_trials_cache(
|
||||
cache_key = f"{study_id}:{objective_id}"
|
||||
with param_importance_cache_lock:
|
||||
cache_n_trial, cache_importance = param_importance_cache.get(
|
||||
cache_key, [0, {"target_name": target_name, "param_importances": []}]
|
||||
cache_key, (0, {"target_name": target_name, "param_importances": []})
|
||||
)
|
||||
if n_completed_trials == cache_n_trial:
|
||||
return cache_importance
|
||||
|
||||
Reference in new issue
Block a user