diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-08-31 16:41:58 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-09-01 09:23:48 -0400 |
commit | a4fc07fae69aa130fc032e7b5204f2e1fe3acaa3 (patch) | |
tree | 0a6315e935bb24bbe539c96b988f91fb06b4017c /lib/sqlalchemy/ext/asyncio | |
parent | 184e2da5992c55266b37bab5ce3a07e9dfb8caa1 (diff) | |
download | sqlalchemy-a4fc07fae69aa130fc032e7b5204f2e1fe3acaa3.tar.gz |
remove async session slots
1798c3cf1c added __slots__ to the base which then
caused af0824fd79 to fail. as we can't use an assignable
class variable with slots, remove slots from AsyncSession
which is how this class was working anyway.
Fixes: #6967
Change-Id: I4e0adab923db8e77cf748a8728e253258838e8f1
Diffstat (limited to 'lib/sqlalchemy/ext/asyncio')
-rw-r--r-- | lib/sqlalchemy/ext/asyncio/session.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/sqlalchemy/ext/asyncio/session.py b/lib/sqlalchemy/ext/asyncio/session.py index 5c5426d72..a62c7177c 100644 --- a/lib/sqlalchemy/ext/asyncio/session.py +++ b/lib/sqlalchemy/ext/asyncio/session.py @@ -65,14 +65,6 @@ class AsyncSession(ReversibleProxy): _is_asyncio = True - __slots__ = ( - "binds", - "bind", - "sync_session", - "_proxied", - "_slots_dispatch", - ) - dispatch = None def __init__(self, bind=None, binds=None, sync_session_class=None, **kw): |