code: def config_attrs(config):
      annotations, defaults = config.config.annotations_and_defaults()
      analyzer = ModuleAnalyzer.for_module(config.config.__module__)
      attr_docs = {
          attr: list(lines)
          for (
              classname,
              attr,
          ), lines in analyzer.find_attr_docs().items()
          if classname == config.name
      }
      return [
          Attribute(
              type,
              name,
              defaults.get(name, NO_DEFAULT),
              attr_docs.get(name, ""),
          )
          for name, type in annotations.items()
      ]
  
imports: import collections
  import contextlib
  import itertools
  import json
  import os
  import typing
  from pytext.config import ConfigBase, ExportConfig, PyTextConfig
  from pytext.config.component import Registry
  from pytext.config.serialize import config_to_json
  from pytext.utils.file_io import PathManager
  from sphinx.ext.napoleon import GoogleDocstring
  from sphinx.pycode import ModuleAnalyzer
label_desc: Use image node_id 5 for calling a global function with example usage: config_attrs(config) and returns: unknown