def inner(func): return self.app.route(rule=path, methods=['POST'], **kwargs)(require_tenant(func))
def inner(func): return self.app.route(rule=path, **kwargs)(require_tenant(func))
def inner(func): if not anonymous: func = require_tenant(func) func = self.app.route(*args, **kwargs)(func) return func
def inner(func): f = self.app.route(*args, **kwargs)(func) if not anonymous: f = require_tenant(f) return f