[sqlalchemy] Ms Access

2018-11-18 Thread Abdallah Ally
Hello guys. Can I use sqlalchemy with Ms Access? -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full

Re: [sqlalchemy] context manager for session lifecycle

2018-11-18 Thread Mike Bayer
On Sun, Nov 18, 2018, 6:22 PM Chris Withers On 16/11/2018 01:09, Mike Bayer wrote: > >> Does SQLAlchemy provide a context manager that handles the session > >> lifecycle described here? > >> > https://docs.sqlalchemy.org/en/latest/orm/session_transaction.html#managing-transactions > >> > >> I

Re: [sqlalchemy] context manager for session lifecycle

2018-11-18 Thread Chris Withers
On 16/11/2018 01:09, Mike Bayer wrote: Does SQLAlchemy provide a context manager that handles the session lifecycle described here? https://docs.sqlalchemy.org/en/latest/orm/session_transaction.html#managing-transactions I mean, it should be as simple as the following, right? @contextmanager