Skip to content

Commit d245cea

Browse files
committed
Fix asynch
1 parent eee847d commit d245cea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clickhouse_sqlalchemy/drivers/asynch/connector.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import asyncio
22

3+
from sqlalchemy.connectors.asyncio import AsyncAdapt_dbapi_cursor
34
from sqlalchemy.engine.interfaces import AdaptedConnection
45
from sqlalchemy.util.concurrency import await_only
56

67

7-
class AsyncAdapt_asynch_cursor:
8+
class AsyncAdapt_asynch_cursor(AsyncAdapt_dbapi_cursor):
89
__slots__ = (
910
'_adapt_connection',
1011
'_connection',
@@ -14,6 +15,7 @@ class AsyncAdapt_asynch_cursor:
1415
)
1516

1617
def __init__(self, adapt_connection):
18+
super().__init__(adapt_connection)
1719
self._adapt_connection = adapt_connection
1820
self._connection = adapt_connection._connection # noqa
1921
self.await_ = adapt_connection.await_

0 commit comments

Comments
 (0)