Description
TypeError: iter() returned non-iterator of type 'list'
I suspect this is due to BatchedRowMixin returning a list on it's _iter_ function rather than the list's _iter_:
ie.
```
def _iter_(self):
"""
Iterate over the rows in this resultset
"""
return self.__rows
```
should be:
```
def _iter_(self):
"""
Iterate over the rows in this resultset
"""
return self._rows.iter_()
```
I'd submit a fix but I haven't looked at this enough to know if it would break BatchedView. Also the Async N1QL documentation could be a bit better.
Attachments
For Gerrit Dashboard: PYCBC-306 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
56402,2 | PYCBC-306: Twisted/N1QL fixes | master | couchbase-python-client | Status: MERGED | +2 | +1 |