class_docstr: Thread-safe cache of Python script bytecode.
class_docstr_tok: ["Thread-safe","cache","of","Python","script","bytecode","."]
docstr: Remove all entries from the cache.
  
  Notes
  -----
  Threading: SAFE. May be called on any thread.
docstr_tok: ["Remove","all","entries","from","the","cache",".","Notes","--","--","-","Threading",":","SAFE",".","May","be","called","on","any","thread","."]
code: def clear(self) -> None:
      """Remove all entries from the cache.
  
      Notes
      -----
      Threading: SAFE. May be called on any thread.
      """
      with self._lock:
          self._cache.clear()
  
file_path: streamlit/lib/streamlit/runtime/scriptrunner/script_cache.py
imports: from __future__ import annotations
  import os.path
  import threading
  from typing import Any
  from streamlit import config
  from streamlit.runtime.scriptrunner import magic
  from streamlit.source_util import open_python_file
label_desc: Use image node_id 2 for calling the ScriptCache obj's underlying member method code with example usage: obj.clear() without return types