code: def cache_clear():
      """Clear st.cache, st.cache_data, and st.cache_resource caches."""
      result = legacy_caching.clear_cache()
      cache_path = legacy_caching.get_cache_path()
      if result:
          print(f"Cleared directory {cache_path}.")
      else:
          print(f"Nothing to clear at {cache_path}.")
  
      # in this `streamlit cache clear` cli command we cannot use the
      # `cache_storage_manager from runtime (since runtime is not initialized)
      # so we create a new cache_storage_manager instance that used in runtime,
      # and call clear_all() method for it.
      # This will not remove the in-memory cache.
      cache_storage_manager = create_default_cache_storage_manager()
      cache_storage_manager.clear_all()
      caching.cache_resource.clear()
  
imports: import os
  import sys
  from typing import Any, Dict, List, Optional
  import click
  import streamlit.runtime.caching
  import streamlit.runtime.legacy_caching
  import streamlit.web.bootstrap
  from streamlit import config
  from streamlit.config_option import ConfigOption
  from streamlit.runtime.credentials import Credentials, check_credentials
  from streamlit.web.cache_storage_manager_config import create_default_cache_storage_manager
label_desc: Use image node_id 14 for calling a global function with example usage: cache_clear() without return types