From: Mike Bayer Date: Tue, 31 Aug 2021 20:41:58 +0000 (-0400) Subject: remove async session slots X-Git-Tag: rel_1_4_24~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4fc07fae69aa130fc032e7b5204f2e1fe3acaa3;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git 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 --- diff --git a/lib/sqlalchemy/ext/asyncio/session.py b/lib/sqlalchemy/ext/asyncio/session.py index 5c5426d720..a62c7177cc 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):