code: def _iterator(self, response):
          '''
          Iterate through query data.
          '''
  
          while True:
              result = self._parse_data(response)
              bookmark = response.get('bookmark')
              if result:
                  for row in result:
                      yield row
  
                  del result
  
                  if not bookmark:
                      break
  
                  response = self._call(bookmark=bookmark)
  
              else:
                  breaf _iterator(self, response):
          '''
          Iterate through query data.
          '''
  
          while True:
              result = self._parse_data(response)
              bookmark = response.get('bookmark')
              if result:
                  for row in result:
                      yield row
  
                  del result
  
                  if not bookmark:
                      break
  
                  response = self._call(bookmark=bookmark)
  
              else:
                  break
docs: Iterate through query data.