#NEWLINE# def process_args( args ) : #NEWLINE# #INDENT# '\n    Perform necessary quoting on the arg list.\n    ' #NEWLINE# def _escape( item , conv ) : #NEWLINE# #INDENT# if isinstance ( item , models . SalesforceModel ) : #NEWLINE# #INDENT# return conv . get ( models . SalesforceModel , conv [ str ] ) ( item , conv ) #NEWLINE# #UNINDENT# if isinstance ( item , decimal . Decimal ) : #NEWLINE# #INDENT# return conv . get ( decimal . Decimal , conv [ str ] ) ( item , conv ) #NEWLINE# #UNINDENT# return conv . get ( type ( item ) , conv [ str ] ) ( item , conv ) #NEWLINE# #UNINDENT# return tuple ( [ _escape ( x , sql_conversions ) for x in args ] )