code: def get_all_descendants(parent):
      
      children = parent.__subclasses__()
      descendants = children[:]
      for child in children:
          descendants += get_all_descendants(child)
      return descendants
docs: Get all the descendants of a parent class, recursively.