444B / streamlit-analytics2

👀 Track & visualize user interactions with your streamlit app
MIT License
14 stars 2 forks source link

does this need to be updated to reflect that session state is no longer beta? #35

Closed 444B closed 4 months ago

444B commented 4 months ago

Original issue by fredzannarbor on 2021-09-22 01:46:09+00:00

Only set this to True if you're using Streamlit's session state beta!!!

session_state_beta = False if session_state_beta: from streamlit import beta_session_state as get_session_state else: from .session_state import get as get_session_state

444B commented 4 months ago

Comment by jrieke on 2021-12-29 01:22:47+00:00

Hey, thx for flagging this! The released version of session state uses a different API than the beta version, so simply using the released version doesn't work. It would require changing potentially a lot of stuff throughout the codebase (which I don't have time for).