ah the mapper isnt taking into account the extensions that are local to the query during the _instance() phase. we can add a ticket for that.
On Feb 1, 12:08 pm, "Dennis" <[EMAIL PROTECTED]> wrote: > I wanted to experiment with using a MapperExtension to add a couple of > non-mapped properties to a class at load time. > > def MyExt(MapperExtension): > def populate_instance(self, mapper, selectioncontext, row, instance, > identitykey, isnew): > print "Hello World" > # do some work here > return EXT_PASS > > obj=query(MyObj).options(extension(MyExt)).select(....) > > MyExt isn't printing anything though.. Am I missing something? > > Thanks > Dennis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---