mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-06 13:10:23 +08:00
remove type annotation
This commit is contained in:
1 parent
1f157776bb
commit
4e7d0bf17a
1 file changed
+1
-1
@@ -45,7 +45,7 @@ def render_user_attr_form_widgets(study: optuna.Study, trial: FrozenTrial) -> No
|
||||
raise ValueError("'output_type' should be 'user_attr'.")
|
||||
|
||||
widgets = form_widgets_dict["widgets"]
|
||||
values: list[float | str | None] = []
|
||||
values = []
|
||||
with st.form("user_input", clear_on_submit=False):
|
||||
for widget in widgets:
|
||||
if widget["description"] is None: # type: ignore
|
||||
|
||||
Reference in new issue
Block a user