示例#1
0
 def inner(func):
     return self.app.route(rule=path, methods=['POST'],
                           **kwargs)(require_tenant(func))
示例#2
0
 def inner(func):
     return self.app.route(rule=path, **kwargs)(require_tenant(func))
示例#3
0
 def inner(func):
     if not anonymous:
         func = require_tenant(func)
     func = self.app.route(*args, **kwargs)(func)
     return func
示例#4
0
 def inner(func):
     return self.app.route(rule=path, **kwargs)(require_tenant(func))
示例#5
0
 def inner(func):
     f = self.app.route(*args, **kwargs)(func)
     if not anonymous:
         f = require_tenant(f)
     return f
示例#6
0
 def inner(func):
     return self.app.route(rule=path, methods=['POST'], **kwargs)(require_tenant(func))