(self)
| 109 | return self |
| 110 | |
| 111 | def _get_next_row(self): |
| 112 | if self.done_streaming is True: |
| 113 | return |
| 114 | |
| 115 | try: |
| 116 | row = next(self._streaming_result) |
| 117 | except StopIteration: |
| 118 | # @TODO: PYCBC-1524 |
| 119 | row = next(self._streaming_result) |
| 120 | |
| 121 | if isinstance(row, PycbcCoreException): |
| 122 | raise ErrorMapper.build_exception(row) |
| 123 | |
| 124 | # should only be None once query request is complete and _no_ errors found |
| 125 | if row is None: |
| 126 | raise StopIteration |
| 127 | |
| 128 | return self._deserialize_row(row) |
| 129 | |
| 130 | def __next__(self): |
| 131 | return stream_next(self) |
nothing calls this directly
no test coverage detected