def __iter__(self):
        while self.has_next_page():
            response = self.get_next_page_response()
            for item in self.get_items_from_response(response):
                yield item
Decorator for monadic error handling.
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/iterator.py/Iterator.__iter__--crossover with--dataset/ETHPy150Open billpmurphy/hask/hask/Data/Maybe.py/in_maybe