#NEWLINE# def build( self , response , meta , fields , fields_attributes , encoding ) : #NEWLINE# #INDENT# fields = ( tuple ( fields ) if fields else None ) #NEWLINE# if fields : #NEWLINE# #INDENT# if ( ( len ( fields ) == 1 ) and ( fields [ 0 ] in ( meta . pkname ( ) , '' ) ) ) : #NEWLINE# #INDENT# for id in response : #NEWLINE# #INDENT# ( yield ( id , ( ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# for ( id , fdata ) in response : #NEWLINE# #INDENT# ( yield ( id , fields , dict ( zip ( fields_attributes , fdata ) ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# for ( id , fdata ) in response : #NEWLINE# #INDENT# ( yield ( id , None , pairs_to_dict ( fdata , encoding ) ) )