docstr: Get the config class config section
docstr_tok: ["Get","the","config","class","config","section"]
code: def class_config_section(cls):
      """Get the config class config section"""
  
      def c(s):
          """return a commented, wrapped block."""
          s = "\n\n".join(wrap_paragraphs(s, 78))
  
          return "## " + s.replace("\n", "\n#  ")
  
      # section header
      breaker = "#" + "-" * 78
      parent_classes = ",".join(p.__name__ for p in cls.__bases__)
      s = "# %s(%s) configuration" % (cls.__name__, parent_classes)
      lines = [breaker, s, breaker, ""]
      # get the description trait
      desc = cls.class_traits().get("description")
      if desc:
          desc = desc.default_value
      if not desc:
          # no description from trait, use __doc__
          desc = getattr(cls, "__doc__", "")
      if desc:
          lines.append(c(desc))
          lines.append("")
  
      for name, trait in sorted(
          cls.class_own_traits(config=True).items()
      ):
          lines.append(c(trait.help))
          lines.append(
              "#c.%s.%s = %s"
              % (cls.__name__, name, trait.default_value_repr())
          )
          lines.append("")
      return "\n".join(lines)
  
imports: from __future__ import print_function, absolute_import
  from copy import deepcopy
  import warnings
  from .loader import Config, LazyConfigValue, _is_section_key
  from traitlets.traitlets import HasTraits, Instance, observe, observe_compat, default
  from ipython_genutils.text import indent, dedent, wrap_paragraphs
label_desc: Use image node_id 10 for calling the Configurable obj's underlying member method code with example usage: obj.class_config_section(cls) and returns: str, unknown