From 5149a75a5413a54fa9087151cd9e49e1fd357e14 Mon Sep 17 00:00:00 2001 From: longxiaofei Date: Wed, 2 Oct 2024 12:40:05 +0800 Subject: [PATCH] fix: origin datas is not used in streamlit environment --- pygwalker/api/streamlit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygwalker/api/streamlit.py b/pygwalker/api/streamlit.py index 967b86b..be34303 100644 --- a/pygwalker/api/streamlit.py +++ b/pygwalker/api/streamlit.py @@ -268,7 +268,7 @@ def _component( vis_spec: Optional[List[Dict[str, Any]]] = None, **kwargs: Dict[str, Any] ): - props = self.walker._get_props("streamlit") + props = self.walker._get_props("streamlit", []) props["gwMode"] = mode props["communicationUrl"] = BASE_URL_PATH if vis_spec is not None: