code: def one_line_desc(obj):
      
  
      logger = logging.getLogger(__name__)
  
      try:
          doc = ParsedDocstring(obj.__doc__)
          return doc.short_desc
      except:  # pylint:disable=bare-except; We don't want a misbehaving exception to break the program
          logger.warning("Could not parse docstring for %s", obj, exc_info=True)
          return ""
docs: Get a one line description of a class.