code: def find_config_class(class_name):
      """
      Return the set of PyText classes matching that name.
      Handles fully-qualified `class_name` including module.
      """
      module_part = None
      if "." in class_name:
          m = class_name.split(".")
          class_name = m[-1]
          module_part = ".".join(m[:-1])
  
      ret = set()
      for _, mod in list(modules.items()):
          try:
              for name, obj in getmembers(mod, isclass):
                  if name == class_name and any(
                      base.__module__.startswith("pytext.")
                      for base in get_subclasses(obj, (object,))
                  ):
                      if (
                          not module_part
                          or obj.__module__ == module_part
                      ):
                          ret.add(obj)
          except (ModuleNotFoundError, TypeError):
              continue
      return ret
  
file_path: pytext/pytext/utils/documentation.py
imports: from enum import Enum
  from inspect import getmembers, isclass, isfunction
  from sys import modules
  from typing import Union
  import torch
  from pytext.config.component import Component, get_component_name
  from pytext.config.pytext_config import ConfigBase
  from pytext.models.module import Module
label_desc: Use image node_id 5 for calling a global function with example usage: find_config_class(class_name) and returns: ret