class_docstr: A singleton application with full configuration support.
class_docstr_tok: ["A","singleton","application","with","full","configuration","support","."]
docstr: Iterate through configurable classes, including configurable parents
  
  Children should always be after parents, and each class should only be
  yielded once.
code: def _classes_inc_parents(self):
      """Iterate through configurable classes, including configurable parents
  
      Children should always be after parents, and each class should only be
      yielded once.
      """
      seen = set()
      for c in self.classes:
          # We want to sort parents before children, so we reverse the MRO
          for parent in reversed(c.mro()):
              if issubclass(parent, Configurable) and (
                  parent not in seen
              ):
                  seen.add(parent)
                  yield parent
  
imports: from __future__ import print_function
  from copy import deepcopy
  import json
  import logging
  import os
  import re
  import sys
  from collections import defaultdict, OrderedDict
  from decorator import decorator
  from traitlets.config.configurable import Configurable, SingletonConfigurable
  from traitlets.config.loader import KVArgParseConfigLoader, PyFileConfigLoader, Config, ArgumentError, ConfigFileNotFound, JSONFileConfigLoader
  from traitlets.traitlets import Bool, Unicode, List, Enum, Dict, Instance, TraitError, observe, observe_compat, default
  from ipython_genutils.importstring import import_item
  from ipython_genutils.text import indent, wrap_paragraphs, dedent
  from ipython_genutils import py3compat
  import six
label_desc: Use image node_id 1 for calling the Application obj's underlying member method code with example usage: obj._classes_inc_parents() without return types