code: def records(self):
          
          records = self._records
          next_record = records.popleft
          while records:
              yield next_record()
          attached = self.attached
          if attached():
              self._session.send()
          while attached():
              self._session.fetch()
              while records:
                  yield next_record()
docs: Generator for records obtained from this result.
  
          :yields: iterable of :class:`.Record` objects