On Fri, Mar 5, 2021 at 8:29 AM Mike Bayer <[email protected]> wrote:
> Can I ask what documentation led you to believe that engine.connect() was > somehow being removed ? > The guidance at [1] makes it clear that the connection is available as a transaction context manager. However, the guidance at [2] suggests that the preferred method is to use the engine. [1]: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html#migration-core-connection-transaction [2]: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html#many-choices-becomes-one-choice Thanks, -- Jonathan Brandmeyer -- 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 description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/CA%2BXzfkpqV2PDBm9EQYBZT6jiO_ZKHR1uKn%2BwB90t2D23An10ug%40mail.gmail.com.
