Streamlit
session_state
Curious about what is in Session State? Use st.write or magic:
st.write(st.session_state)
# With magic:
st.session_state
Delete items
Delete items in Session State using the syntax to delete items in any Python dictionary:
# Delete a single key-value pair
del st.session_state[key]