diff options
author | Federico Caselli <cfederico87@gmail.com> | 2021-02-06 12:11:54 +0100 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2021-02-06 12:11:54 +0100 |
commit | 23e088bccff02f18e4a27ef9dfc656c814695525 (patch) | |
tree | 3237cc438cc69e818474964df8feb21aa0cc566f /lib/sqlalchemy/exc.py | |
parent | bc9221bf781adfffdddf12860d4eed7650457a0a (diff) | |
download | sqlalchemy-23e088bccff02f18e4a27ef9dfc656c814695525.tar.gz |
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
Diffstat (limited to 'lib/sqlalchemy/exc.py')
-rw-r--r-- | lib/sqlalchemy/exc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/exc.py b/lib/sqlalchemy/exc.py index 289b8dfab..a0a86826d 100644 --- a/lib/sqlalchemy/exc.py +++ b/lib/sqlalchemy/exc.py @@ -287,7 +287,7 @@ class NoReferenceError(InvalidRequestError): class AwaitRequired(InvalidRequestError): """Error raised by the async greenlet spawn if no async operation - was awaited when it required one + was awaited when it required one. """ |