code: def list_hierarchy(class_name, bases):
      
  
      class_list = [Uri(class_name)]
      for base in bases:
          if base.__name__ not in IGNORE_CLASSES:
              class_list.append(Uri(base.__name__))
      return list([i for i in set(class_list)])
docs: Creates a list of the class hierarchy
  
      Args:
      -----
          class_name: name of the current class
          bases: list/tuple of bases for the current class