On Mon, Jul 20, 2020, at 7:55 PM, Praveen Kumar wrote: > > Confirming some details re: thread safety ( I noticed older posts in this > group on the topic... but they're quite old ) -- > > I'm using version 1.2.7, and can't upgrade. I understand that Connection and > Transaction are not threadsafe. > > Are Engine and QueuePool ( the default pool ) threadsafe ? Can you please > confirm that Engine.execute() is threadsafe ? > > Are there any thread-safety issues with any of the other pool classes > included in the sqlalchemy.pool module ?
use of engine.execute(), engine.connect(), as well as the work done by the underlying pool is threadsafe. > > Thanks, > > pk > > > -- > 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 sqlalchemy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sqlalchemy/7853de23-85d7-416e-b70e-935a0bad12c4o%40googlegroups.com > > <https://groups.google.com/d/msgid/sqlalchemy/7853de23-85d7-416e-b70e-935a0bad12c4o%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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 sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/e73f49ad-ebfe-4c7b-b2be-2352fbea58e1%40www.fastmail.com.