]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Detect non async driver on engine creation
authorFederico Caselli <cfederico87@gmail.com>
Sat, 6 Feb 2021 11:11:54 +0000 (12:11 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Sat, 6 Feb 2021 11:11:54 +0000 (12:11 +0100)
commit23e088bccff02f18e4a27ef9dfc656c814695525
tree3237cc438cc69e818474964df8feb21aa0cc566f
parentbc9221bf781adfffdddf12860d4eed7650457a0a
Detect non async driver on engine creation

An error is raised when creating an async engine with an
incompatible dbapi. Before the error was raised only when
first using the engine.

Change-Id: I977952b4c03ae51f568749ad744c545197bcd887
Reference: #5920
lib/sqlalchemy/exc.py
lib/sqlalchemy/ext/asyncio/engine.py
test/ext/asyncio/test_engine_py3k.py