I’m moving from vanilla SQLAlchemy to flask-SqlAlchemy-lite.
What is the best practice for session management? Can I still do something like this
<code> with db.session as session, session.begin():
</code>
<code> with db.session as session, session.begin():
</code>
with db.session as session, session.begin():
if I want the block to automatically commit?