def automap_base(declarative_base=None, **kw):
 if (declarative_base is None):
  Base = _declarative_base(**kw)
 else:
  Base = declarative_base
 return type(Base.__name__, (AutomapBase, Base), {'__abstract__': True, 'classes': util.Properties({})})

def automap_base ( declarative_base = None , ** kw ) : if ( declarative_base is None ) : Base = _declarative_base ( ** kw ) else : Base = declarative_base return type ( Base . __name__ , ( AutomapBase , Base ) , { '__abstract__' : True , 'classes' : util . Properties ( { } ) } )
produce a declarative automap base .