Managing st.session_state lifecycle with @st.cache_data TTL
Managing st.session_state lifecycle with @st.cache_data TTL Goal: ensure that any st.session_state assignments made inside a @st.cache_data‑decorated function are removed when the cache entry expires, preventing stale state from persisting across reruns. Constraint: the current Streamlit implementation does not automatically clear session_state set within ca