streamlit-analytics
streamlit-analytics copied to clipboard
Fixing ctx call for version >1.4
ReportThread was removed in version 1.4, therefore it is now necessary to use get_script_run_ctx() ( see https://github.com/streamlit/streamlit/issues/4099 )
Can we merge this please?
Hey, thanks for the PR! I decided to implement Streamlit's built-in st.session_state
now (which is released since a year), so this is obsolete.