Hi, 

  i'm adding in sqlkit library some signals around commit, and particularly
  in post-commit phase.

  As I'd like to have the possibility to see which attributes where modified
  from within the callback I used 'after_flush' method of SessionExtension.


  So I have 2 questions:

  1. Trivial tests show it behaves as I want it but how confident can I be
     that the signal is not emitted if the commit goes wrong? Is it correct
     that -as flush has already occurred- it mainly depends on what has
     happened between the BEGIN statement and the COMMIT?

  2. after_flush has a flush_context argument: what can I use it for?


thanks a lot
sandro
*:-)


-- 
Sandro Dentella  *:-)
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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