arsentievalex / streamlit-dynamic-filters

Custom component with dynamic multiselect filters for Streamlit
MIT License
68 stars 12 forks source link

Issue with streamlit 1.14.0 #7

Closed youssefhaddad closed 8 months ago

youssefhaddad commented 8 months ago

Hi, Great work on the library, but when using it, I get an exception : AttributeError: module 'streamlit' has no attribute 'rerun' I guess it's due to the fact that the argument got deleted in 1.14 Maybe I'm wrong and this is just a rookie's mistake also, I don't know :) Thanks for the support in advance, Youssef

arsentievalex commented 8 months ago

Hi, thanks, you need to upgrade your Streamlit version. The rerun method was introduced later (it used to be experimental for a while). See docs here - https://docs.streamlit.io/library/api-reference/control-flow/st.rerun