From 11e38ea439077d5aa13390cbfc8c2823d869341d Mon Sep 17 00:00:00 2001 From: Victoria A <52001888+adjeiv@users.noreply.github.com> Date: Sat, 18 Nov 2023 11:30:55 +0000 Subject: [PATCH] Typing info --- optuna_dashboard/_note.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optuna_dashboard/_note.py b/optuna_dashboard/_note.py index 6107d56c..57135211 100644 --- a/optuna_dashboard/_note.py +++ b/optuna_dashboard/_note.py @@ -176,7 +176,7 @@ def save_note_with_version( storage.set_study_system_attr(study_id, f"{note_str_key_prefix(trial_id)}{i}", "") -def delete_study_notes(storage: BaseStorage, study_id): +def delete_study_notes(storage: BaseStorage, study_id: int) -> None: for trial in storage.get_all_trials(study_id): delete_notes(storage, study_id, trial._trial_id)