(self)
| 69 | return self |
| 70 | |
| 71 | def _get_next_row(self): |
| 72 | if self.done_streaming is True: |
| 73 | return |
| 74 | |
| 75 | try: |
| 76 | row = next(self._streaming_result) |
| 77 | except StopIteration: |
| 78 | # @TODO: PYCBC-1524 |
| 79 | row = next(self._streaming_result) |
| 80 | |
| 81 | if isinstance(row, PycbcCoreException): |
| 82 | raise ErrorMapper.build_exception(row) |
| 83 | |
| 84 | # should only be None once query request is complete and _no_ errors found |
| 85 | if row is None: |
| 86 | raise StopIteration |
| 87 | |
| 88 | return self.serializer.deserialize(row) |
| 89 | |
| 90 | def __next__(self): |
| 91 | return stream_next(self) |
nothing calls this directly
no test coverage detected