mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-17 22:22:13 -04:00
remove async session slots
1798c3cf1cadded __slots__ to the base which then causedaf0824fd79to 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
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user