[sqlalchemy] Threading Queries

2014-05-08 Thread James Meneghello
A couple of questions: I'm writing an application using concurrent.futures (by process). The processes themselves are fairly involved - not simple functions. I'm using scoped_sessions and a context manager like so: # db.py engine = create_engine(sqlalchemy_url) Session =

Re: [sqlalchemy] Threading Queries

2014-05-08 Thread Michael Bayer
On May 8, 2014, at 5:06 AM, James Meneghello murod...@gmail.com wrote: A couple of questions: I'm writing an application using concurrent.futures (by process). The processes themselves are fairly involved - not simple functions. I'm using scoped_sessions and a context manager like so: