Thank you Mike! At this point, I am cleaning session.info["history-objects"] in 'after_commit' and 'after_rollback'. I was wondering about 'after_soft_rollback` too ... (I discovered that history objects were being "re-added" when I was issuing session.rollback() so I added the cleanup there also)
If I use 'after_transaction_end', will that guarantee that everything's clear even if the transaction is retried? (we are using pyramid_tm with retries=2) -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.