On Monday, October 7, 2013 8:27:34 PM UTC-4, Klauss wrote: > > 3- open a single request-scope session, and carry it through your async > tasks.
I left that out, because it brings up the problem where your long-running session blocks the database (via transactions) or if you're in some 'autocommit' mode, you end up with a session very much out of sync. -- 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 http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.