On Aug 4, 2006, at 8:24 AM, Sanjaya Kumar Patel wrote: > It seems that __init__ can't be used in a class used along with > assign_mapper. So, need help on what is a recommended way to achieve > initialization.
any mapped class may define whatever __init__ method it wants. while assign_mapper provides a default __init__ method for classes, if the class already has an __init__ method then that one will be used (just check out assignmapper.py to see). ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users