File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 3
3
4
4
Cassandra Driver for asyncDB.
5
5
6
- TODO: migrate to Thread Executors or Asyncio version.
6
+ TODO: migrate to Asyncio version (when available) .
7
7
"""
8
8
import time
9
9
import logging
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ async def __anext__(self):
77
77
"""Use `cursor.fetchrow()` to provide an async iterable."""
78
78
try :
79
79
row = await self ._cursor .next ()
80
+ except AttributeError :
81
+ row = None
80
82
except rethinkdb .errors .ReqlCursorEmpty :
81
83
row = None
82
84
if row is not None :
Original file line number Diff line number Diff line change @@ -542,7 +542,7 @@ def __init__(
542
542
parameters : Iterable [Any ] = None ,
543
543
** kwargs
544
544
):
545
- # self._cursor = None
545
+ self ._cursor = None
546
546
self ._provider = provider
547
547
self ._result = result
548
548
self ._sentence = sentence
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def readme():
132
132
"aiomcache==0.8.1" ,
133
133
"aiosqlite>=0.18.0" ,
134
134
"cassandra-driver==3.28.0" ,
135
- "rethinkdb==2.4.9 " ,
135
+ "rethinkdb==2.4.10 " ,
136
136
"influxdb==5.3.1" ,
137
137
"influxdb-client[async]==1.39.0" ,
138
138
"pymssql==2.2.7" ,
@@ -168,7 +168,7 @@ def readme():
168
168
"objectpath==0.6.1" ,
169
169
],
170
170
"rethinkdb" : [
171
- "rethinkdb==2.4.9 " ,
171
+ "rethinkdb==2.4.10 " ,
172
172
],
173
173
"postgres" : [
174
174
"aiopg==1.4.0" ,
@@ -244,7 +244,7 @@ def readme():
244
244
"aioredis==2.0.1" ,
245
245
"redis==5.0.1" ,
246
246
"objectpath==0.6.1" ,
247
- "rethinkdb==2.4.9 " ,
247
+ "rethinkdb==2.4.10 " ,
248
248
"aiopg==1.4.0" ,
249
249
"psycopg-binary>=3.1.8" ,
250
250
"cassandra-driver==3.28.0" ,
Original file line number Diff line number Diff line change 19
19
"host" : "localhost" ,
20
20
"port" : "28015" ,
21
21
"db" : "epson" ,
22
- "user" : "test" ,
23
- "password" : "supersecret"
22
+ # "user": "test",
23
+ # "password": "supersecret"
24
24
}
25
25
26
26
You can’t perform that action at this time.
0 commit comments