def __iter__(self):
        while True:
            try:
                x = self.data.next()
                yield x
            except __HOLE__:
                self._fetch_next()
dataset/ETHPy150Open tempodb/tempodb-python/tempodb/protocol/cursor.py/Cursor.__iter__