diff options
author | Federico Caselli <cfederico87@gmail.com> | 2021-04-30 22:36:59 +0200 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-05-01 11:58:13 -0400 |
commit | fc7a3533417d970e47397f4da874e5e73e9f1c72 (patch) | |
tree | fb7b645ed4b7b2f72f2f2c273694c1631d577b0a /lib/sqlalchemy/orm/dynamic.py | |
parent | a47c158a9a3b1104698fc0bff47ca58d67cb9191 (diff) | |
download | sqlalchemy-fc7a3533417d970e47397f4da874e5e73e9f1c72.tar.gz |
Avoid creating asyncio.Lock on the wrong loop.
Fixed a regression introduced by :ticket:`6337` that would create an
``asyncio.Lock`` which could be attached to the wrong loop when
instantiating the async engine before any asyncio loop was started, leading
to an asyncio error message when attempting to use the engine under certain
circumstances.
Fixes: #6409
Change-Id: I8119c56b44a7bd70a650c0ea676892d4d7814a8b
Diffstat (limited to 'lib/sqlalchemy/orm/dynamic.py')
0 files changed, 0 insertions, 0 deletions