#NEWLINE# def set_iter( self , data ) : #NEWLINE# #INDENT# if ( self . result_member not in data [ 'query' ] ) : #NEWLINE# #INDENT# self . _iter = iter ( six . moves . range ( 0 ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( type ( data [ 'query' ] [ self . result_member ] ) is list ) : #NEWLINE# #INDENT# self . _iter = iter ( data [ 'query' ] [ self . result_member ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _iter = six . itervalues ( data [ 'query' ] [ self . result_member ] )