code: def get_registered_funcs(
      config: Config,
  ) -> List[Dict[str, Optional[Union[str, int]]]]:
      result = []
      for key, value in util.walk_dict(config):
          if not key[-1].startswith("@"):
              continue
          # We have a reference to a registered function
          reg_name = key[-1][1:]
          registry = getattr(util.registry, reg_name)
          path = ".".join(key[:-1])
          info = registry.find(value)
          result.append(
              {
                  "name": value,
                  "registry": reg_name,
                  "path": path,
                  **info,
              }
          )
      return result
  
file_path: spaCy/spacy/cli/debug_config.py
imports: from pathlib import Path
  from typing import Any, Dict, List, Optional, Union
  import typer
  from thinc.api import Config
  from thinc.config import VARIABLE_RE
  from wasabi import msg, table
  from ..None import util
  from ..schemas import ConfigSchemaInit, ConfigSchemaTraining
  from ..util import registry
  from ._util import Arg, Opt, debug_cli, import_code, parse_config_overrides, show_validation_error
label_desc: Use image node_id 3 for calling a global function with example usage: get_registered_funcs(config) and returns: result