#NEWLINE# def _changes( self , **opts ) : #NEWLINE# #INDENT# ( _ , _ , data ) = self . resource . get ( '_changes' , ** opts ) #NEWLINE# lines = data . iterchunks ( ) #NEWLINE# for ln in lines : #NEWLINE# #INDENT# if ( not ln ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# doc = json . decode ( ln . decode ( 'utf-8' ) ) #NEWLINE# if ( 'last_seq' in doc ) : #NEWLINE# #INDENT# for ln in doc : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# ( yield doc )