code: def peek(self):
          
          records = self._records
          if records:
              return records[0]
          if not self.attached():
              return None
          if self.attached():
              self._session.send()
          while self.attached() and not records:
              self._session.fetch()
              if records:
                  return records[0]
          return None
docs: Obtain the next record from this result without consuming it.
          This leaves the record in the buffer for further processing.
  
          :returns: the next :class:`.Record` or :const:`None` if none remain