[Sqlalchemy-users] mapper extension before_insert / before_update busted

2006-07-17 Thread Brad Clements
Revision: 1712 (first time I've tried this so I don't know if it's recent breakage) Tcontact = Table('contact' ... ) class contact(object): pass assign_mapper(contact, Tcontact, extension=[ table_extensions.contact(), ]) in table_extensions.py: class

Re: [Sqlalchemy-users] mapper extension before_insert / before_update busted

2006-07-17 Thread Brad Clements
On 17 Jul 2006 at 21:08, Michael Bayer wrote: its working on this end, i see you are using assign_mapper without a sessioncontext so i guess that means you are on threadlocal, tried that too (which does add its own extension in) but it also works. see if you can attach a test