mitsuhiko/flask-sqlalchemy — pull request #113 by mangecoeur (2012-12-23 23:23:37+00:00)
Title: add "bind" option to signallingsession

create_scoped_session can now accept a "bind" option (supplied through the "options" dict). This way you can create flask-sqlalchemy scoped sessions (with all the teardown machinery) for arbitrary binds. Useful because scoped sessions are not created for all binds by default (when you have multiple DBs configured).