#NEWLINE# def __iter__( self ) : #NEWLINE# #INDENT# while self . _buffer : #NEWLINE# #INDENT# values = self . _buffer . popleft ( ) #NEWLINE# ( yield Record ( self . keys ( ) , tuple ( map ( hydrated , values ) ) ) ) #NEWLINE# #UNINDENT# while ( not self . _consumed ) : #NEWLINE# #INDENT# self . connection . fetch ( ) #NEWLINE# while self . _buffer : #NEWLINE# #INDENT# values = self . _buffer . popleft ( ) #NEWLINE# ( yield Record ( self . keys ( ) , tuple ( map ( hydrated , values ) ) ) )