code: def get_config():
      """Retrieve current values for configuration set by :func:`set_config`.
  
      Returns
      -------
      config : dict
          Keys are parameter names that can be passed to :func:`set_config`.
  
      See Also
      --------
      config_context : Context manager for global scikit-learn configuration.
      set_config : Set global scikit-learn configuration.
      """
      # Return a copy of the threadlocal configuration so that users will
      # not be able to modify the configuration with the returned dict.
      return _get_threadlocal_config().copy()
  
imports: import os
  import threading
  from contextlib import contextmanager
label_desc: Use image node_id 2 for calling a global function with example usage: get_config() and returns: _get_threadlocal_config