code: def get_inst_base_types(inst):
      """
      Get instance and it's base classes types
      """
      bases_types = []
      for b in inst.__class__.__bases__:
          b_type, b_cls_type = get_inst_type_str(b)
          bases_types.append(b_type)
          bases_types.append(b_cls_type)
      return bases_types
  
file_path: aim/aim/sdk/num_utils.py
label_desc: Use image node_id 2 for calling a global function with example usage: get_inst_base_types(inst) and returns: bases_types