On May 26, 2:17 pm, Michael Bayer <mike...@zzzcomputing.com> wrote: > its in the identity map after the flush succeeds, which is well before > after_commit() is called.
That sounds reasonable, but I have debug output from after_attach, before_flush, after_flush, before_commit and after_commit, all of which show a session.identity_map without the newly added Story instance. In fact, the only time I see a Story is as the 'instance' argument to after_attach. But it's still doing the INSERT into the stories table. Here's my debug output: http://pastie.textmate.org/private/ixa4sjopmf8nowblec1ra Why would I be seeing that behaviour? Is it indicative of me having set something up wrongly elsewhere? -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.