mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-12 12:40:33 +08:00
Fix lint error: E501 line too long
This commit is contained in:
@@ -144,7 +144,9 @@ def create_app(
|
||||
response.status = 500
|
||||
return {"reason": "Failed to load the study"}
|
||||
try:
|
||||
dst_study = optuna.create_study(storage=storage, study_name=dst_study_name, directions=summary.directions)
|
||||
dst_study = optuna.create_study(
|
||||
storage=storage, study_name=dst_study_name, directions=summary.directions
|
||||
)
|
||||
dst_study.add_trials(src_study.get_trials(deepcopy=False))
|
||||
except DuplicatedStudyError:
|
||||
response.status = 400 # Bad request
|
||||
|
||||
Reference in New Issue
Block a user