#NEWLINE# def _build_path( self , pattern , url_params ) : #NEWLINE# #INDENT# for var_name in url_params . keys ( ) : #NEWLINE# #INDENT# varValue = url_params [ var_name ] #NEWLINE# pattern = pattern . replace ( ( ':' + var_name ) , str ( varValue ) ) #NEWLINE# #UNINDENT# return pattern