From 4e7d0bf17adfc06411079c15ad96bcd80ff68f17 Mon Sep 17 00:00:00 2001 From: cross32768 Date: Fri, 30 Jun 2023 11:35:43 +0900 Subject: [PATCH] remove type annotation --- optuna_dashboard/_streamlit_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optuna_dashboard/_streamlit_helper.py b/optuna_dashboard/_streamlit_helper.py index 9f70888d..df3c8321 100644 --- a/optuna_dashboard/_streamlit_helper.py +++ b/optuna_dashboard/_streamlit_helper.py @@ -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