File tree 3 files changed +5
-5
lines changed
ydb_sqlalchemy/sqlalchemy
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
sqlalchemy >= 1.4.0 , < 3.0.0
2
2
ydb >= 3.18.8
3
- ydb-dbapi >= 0.1.7
3
+ ydb-dbapi >= 0.1.8
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ ignore_errors = True
17
17
commands =
18
18
docker-compose up -d
19
19
python {toxinidir}/wait_container_ready.py
20
- pytest -v {posargs}
20
+ pytest -v {posargs} --dbdriver ydb --dbdriver ydb_async
21
21
docker-compose down
22
22
23
23
[testenv:test-all]
Original file line number Diff line number Diff line change @@ -87,13 +87,13 @@ def rowcount(self):
87
87
return self ._cursor .rowcount
88
88
89
89
def fetchone (self ):
90
- return await_only ( self ._cursor .fetchone () )
90
+ return self ._cursor .fetchone ()
91
91
92
92
def fetchmany (self , size = None ):
93
- return await_only ( self ._cursor .fetchmany (size = size ) )
93
+ return self ._cursor .fetchmany (size = size )
94
94
95
95
def fetchall (self ):
96
- return await_only ( self ._cursor .fetchall () )
96
+ return self ._cursor .fetchall ()
97
97
98
98
def execute_scheme (self , sql , parameters = None ):
99
99
return await_only (self ._cursor .execute_scheme (sql , parameters ))
You can’t perform that action at this time.
0 commit comments