code: def getbaseclasses(v):
      if not getattr(v, "_propdict", None):
          v._propdict = {}
          v._elemdict = {}
          for superclassname in getattr(v, "_superclassnames", []):
              superclass = eval(superclassname)
              getbaseclasses(superclass)
              v._propdict.update(getattr(superclass, "_propdict", {}))
              v._elemdict.update(getattr(superclass, "_elemdict", {}))
          v._propdict.update(getattr(v, "_privpropdict", {}))
          v._elemdict.update(getattr(v, "_privelemdict", {}))
  
imports: from warnings import warnpy3k
  import aetools
  import Standard_Suite
  import Legacy_suite
  import Containers_and_folders
  import Files
  import Finder_Basics
  import Finder_items
  import Window_classes
  import Type_Definitions
  import Enumerations
  from Standard_Suite import *
  from Legacy_suite import *
  from Containers_and_folders import *
  from Files import *
  from Finder_Basics import *
  from Finder_items import *
  from Window_classes import *
  from Type_Definitions import *
  from Enumerations import *
  import StdSuites
label_desc: Use image node_id 1 for calling a global function with example usage: getbaseclasses(v) without return types