#NEWLINE# def get_params( self ) : #NEWLINE# #INDENT# '\n        Return the list of query params for the mlt query.\n        ' #NEWLINE# params = [ ] #NEWLINE# params . append ( ( 'mlt' , 'true' ) ) #NEWLINE# params . append ( ( 'mlt.fl' , ',' . join ( self . _fields ) ) ) #NEWLINE# for optional in self . _optional_params : #NEWLINE# #INDENT# if self . _optional_params [ optional ] : #NEWLINE# #INDENT# params . append ( ( ( 'mlt.%s' % optional ) , self . _optional_params [ optional ] ) ) #NEWLINE# #UNINDENT# #UNINDENT# if params . stream_body : #NEWLINE# #INDENT# params . append ( ( 'stream.body' , self . stream_body ) ) #NEWLINE# #UNINDENT# return params