docstr: Clear session state and request a rerun.
docstr_tok: ["Clear","session","state","and","request","a","rerun","."]
code: def clear(self):
      """Clear session state and request a rerun."""
      self._state["data"].clear()
      self._state["session"].request_rerun(None)
  
file_path: promptsource/promptsource/session.py
imports: from streamlit.hashing import _CodeHasher
  from streamlit.report_thread import get_report_ctx
  from streamlit.server.server import Server
label_desc: Use image node_id 7 for calling the _SessionState obj's underlying member method code with example usage: obj.clear() without return types