<s> import functools <EOL> def sensitive_variables ( * variables ) : <EOL> """<STR_LIT>""" <EOL> def decorator ( func ) : <EOL> @ functools . wraps ( func ) <EOL> def sensitive_variables_wrapper ( * args , ** kwargs ) : <EOL> if variables : <EOL> sensitive_variables_wrapper . sensitive_variables = variables <EOL> else : <EOL> sensitive_variables_wrapper . sensitive_variables = '<STR_LIT>' <EOL> return func ( * args , ** kwargs ) <EOL> return sensitive_variables_wrapper <EOL> return decorator <EOL> def sensitive_post_parameters ( * parameters ) : <EOL> """<STR_LIT>""" <EOL> def decorator ( view ) : <EOL> @ functools . wraps ( view ) <EOL> def sensitive_post_parameters_wrapper ( request , * args , ** kwargs ) : <EOL> if parameters : <EOL> request . sensitive_post_parameters = parameters <EOL> else : <EOL> request . sensitive_post_parameters = '<STR_LIT>' <EOL> return view ( request , * args , ** kwargs ) <EOL> return sensitive_post_parameters_wrapper <EOL> return decorator </s>
