def auth_audit_exempt(action):
 @functools.wraps(action)
 def wrapper(context, data_dict):
  return action(context, data_dict)
 wrapper.auth_audit_exempt = True
 return wrapper

def auth_audit_exempt ( action ) : @ functools . wraps ( action ) def wrapper ( context , data_dict ) : return action ( context , data_dict ) wrapper . auth_audit_exempt = True return wrapper
dirty hack to stop auth audit being done .