#NEWLINE# def set_field( service , field , partial_func ) : #NEWLINE# #INDENT# if ( field not in service ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# service [ field ] = partial_func ( service [ field ] )