#NEWLINE# def get_params_string( params ) : #NEWLINE# #INDENT# string = dict ( ) #NEWLINE# for ( k , v ) in six . iteritems ( params ) : #NEWLINE# #INDENT# if isinstance ( v , float ) : #NEWLINE# #INDENT# string [ k ] = round ( v , 3 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( v , list ) : #NEWLINE# #INDENT# string [ k ] = [ round ( val , 3 ) for val in v ] #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return str ( val )