[Sqlalchemy-tickets] Issue #3993: Session.begin() returns a context manager (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
From: Felix M. <iss...@bi...> - 2017-05-17 14:35:44
|
New issue 3993: Session.begin() returns a context manager https://bitbucket.org/zzzeek/sqlalchemy/issues/3993/sessionbegin-returns-a-context-manager Felix Mühlbauer: In the example code of [autocommit](http://docs.sqlalchemy.org/en/latest/orm/session_transaction.html?highlight=begin#autocommit-mode) the return value of Session.begin() is used as a context manager. This is not described in the docs for [Session.begin()](http://docs.sqlalchemy.org/en/latest/orm/session_api.html#sqlalchemy.orm.session.Session.begin) |