Hi, I'm trying to write a mapper extension that notifies a daemon
about changes made to the DB that it needs to care about.  But it
looks like after_update() is actually getting called before the UPDATE
is sent to the db.

Not knowing a better way to debug it, I just threw a pdb.set_trace()
into my after_update method to pause the process making the change,
then queried the db directly using sql.  It looks like the change
hasn't made it to the DB yet, even though pdb.set_trace() is being
triggered.

I'm using 0.4.3, with psycopg2.

Is this a known bug?  Or am I just using the MapperExtension
incorrectly?

Any help would be greatly appreciated.  Thanks.

--
david bonner
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to