code: def glob_config(pattern, search_dirs=None):
      """Return glob results for all possible configuration locations.
  
      Note: This method does not check the configuration "base" directory if the pattern includes a subdirectory.
            This is done for performance since this is usually used to find *all* configs for a certain component.
      """
      patterns = config_search_paths(
          pattern, search_dirs=search_dirs, check_exists=False
      )
      for pattern_fn in patterns:
          for path in glob.iglob(pattern_fn):
              yield path
  
imports: from __future__ import annotations
  import ast
  import glob
  import logging
  import os
  import sys
  import tempfile
  from collections import OrderedDict
  from importlib.metadata import EntryPoint, entry_points
  from importlib.resources import files
  from typing import Iterable
  import appdirs
  from donfig import Config
  from satpy._compat import cache
label_desc: Use image node_id 6 for calling a global function with example usage: glob_config(pattern, search_dirs) without return types