diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2021-04-12 19:38:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2021-04-12 19:38:50 +0000 |
commit | de7f14104d5278987fa72d6866fa39569e56077e (patch) | |
tree | 6665a162184b701131c501fa7678811856e8b2e0 /lib/sqlalchemy/ext | |
parent | b7facab8936addf022bca7a3dbbff96ce7c85227 (diff) | |
parent | 3d41fad27de91800b89a199e67766066fd744103 (diff) | |
download | sqlalchemy-de7f14104d5278987fa72d6866fa39569e56077e.tar.gz |
Merge "Fix typo that prevented setting the ``bind`` attribute of an :class:`_asyncio.AsyncSession` to the correct value."
Diffstat (limited to 'lib/sqlalchemy/ext')
-rw-r--r-- | lib/sqlalchemy/ext/asyncio/session.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/asyncio/session.py b/lib/sqlalchemy/ext/asyncio/session.py index c8377aa65..d8a5673eb 100644 --- a/lib/sqlalchemy/ext/asyncio/session.py +++ b/lib/sqlalchemy/ext/asyncio/session.py @@ -80,7 +80,7 @@ class AsyncSession: ): kw["future"] = True if bind: - self.bind = engine + self.bind = bind bind = engine._get_sync_engine_or_connection(bind) if binds: |