[sqlalchemy] Re: 'MapperExtension' object has no attribute 'translate_row'

2007-05-04 Thread Sanjay
testcase please Here is the sample code which works perfectly till 0.3.4 and produces error in newer versions in my system: from sqlalchemy import * from sqlalchemy.ext.assignmapper import assign_mapper from sqlalchemy.ext.sessioncontext import SessionContext context =

[sqlalchemy] Re: 'MapperExtension' object has no attribute 'translate_row'

2007-05-04 Thread King Simon-NFHD78
Of Sanjay Sent: 04 May 2007 14:37 To: sqlalchemy Subject: [sqlalchemy] Re: 'MapperExtension' object has no attribute 'translate_row' testcase please Here is the sample code which works perfectly till 0.3.4 and produces error in newer versions in my system: from sqlalchemy import * from

[sqlalchemy] Re: 'MapperExtension' object has no attribute 'translate_row'

2007-05-04 Thread Sanjay
Your TaskExtension class doesn't have a translate_row method, which apparently is part of the MapperExtension interface (although it doesn't appear in the docs). From the source code (in orm/mapper.py): def translate_row(self, mapper, context, row): Perform pre-processing on the