On Wednesday 02 July 2008 21:38:24 Michael Bayer wrote: > yes they are inherited. each mapper does have its own extension > list but the list is formulated while taking into account the > extension list of the inherited mapper. > > This probably does not work for mapper extensions specified with > query.options(extensionoption) and I would discourage the usage of > that mapper option.
and it does not work (of course) if the mapper.extension is appended later that mapper() creation. which is what i do... hmmm. so far i need mapExtensions 3 times, and in 2 of them it cannot be done at mapper() creation - at that time klas.attr is not instrumented yet. > On Jul 2, 2008, at 2:21 PM, [EMAIL PROTECTED] wrote: > > that is, if i define an extension for a base mapper, will the > > inheriting one call it? > > or it has completely separate own extension-list? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---