Closed r-moret closed 6 months ago
Name | Link |
---|---|
Latest commit | 3b411d7a6bbd5cf1cbbecd8f88e4067eb76f69e3 |
Latest deploy log | https://app.netlify.com/sites/phenomenal-crepe-0effec/deploys/65f2a7bfec71c400087796ae |
Hey @r-moret! Thanks a lot for this PR. Would you mind making this compatible with older versions of streamlit, too?
For example, this is how we handle the method changes for caching primitives (source)
An equivalent here may be:
try:
from streamlit import rerun
except ImportError:
from streamlit import experimental_rerun as rerun
# use `rerun` in the rest of the app
Any progress on this, we are getting closer to April 1st!
Thank you for your feedback @arnaudmiribel!
I've just added to the PR the commit to allow compatibility with older versions! If there's something else you think would be good to add here just let me know!
This pull request subtitutes the method
st.experimental_rerun()
used in the extra stateful_button for its stable versionst.rerun()
.This is asked in the issue #218 as the deprecated method logs a warning specifying that it will be removed soon (2024-04-01).