From 2d8ace4e318ffbe99d48b8b48d83c7980bdec0e4 Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Thu, 23 May 2024 23:36:14 +0900 Subject: [PATCH] Add type: ignore --- streamlit_webrtc/components_callbacks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streamlit_webrtc/components_callbacks.py b/streamlit_webrtc/components_callbacks.py index b5e9a0dd..f297599d 100644 --- a/streamlit_webrtc/components_callbacks.py +++ b/streamlit_webrtc/components_callbacks.py @@ -30,9 +30,9 @@ try: # Streamlit >= 1.34.0 (Ref: https://github.com/streamlit/streamlit/pull/8457) - from streamlit.components.v1 import custom_component as _components + from streamlit.components.v1 import custom_component as _components # type: ignore except ImportError: - from streamlit.components.v1 import components as _components + from streamlit.components.v1 import components as _components # type: ignore def _patch_register_widget(register_widget):