Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76894a9

Browse files
Fixing AsyncioCursor to not return a generator
TypeEror 'async for' received an object from `__aiter__` that does not implement __anext__: generator
1 parent 7e5ba81 commit 76894a9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rethinkdb/asyncio_net/net_asyncio.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def __init__(self, *args, **kwargs):
9292
Cursor.__init__(self, *args, **kwargs)
9393
self.new_response = asyncio.Future()
9494

95-
@asyncio.coroutine
9695
def __aiter__(self):
9796
return self
9897

0 commit comments

Comments
 (0)