code: def get_class_hierarchy(clazz):
      classes = []
      if clazz is type(object()):
          return classes
      for base_class in clazz.__bases__:
          classes.extend(get_class_hierarchy(base_class))
      classes.append(clazz)
      return classes
  
file_path: ppft/ppft/common.py
imports: import threading
  import io
label_desc: Use image node_id 4 for calling a global function with example usage: get_class_hierarchy(clazz) and returns: classes, classes