Exemplo n.º 1
0
 def handler(self, ctx):
     ctx = context.make_admin_context()
     context.set_ctx(ctx)
     func(self, ctx)
     context.set_ctx(None)
Exemplo n.º 2
0
 def handler(self, ctx):
     ctx = context.make_admin_context(all_tenants=True)
     context.set_ctx(ctx)
     func(self, ctx)
     context.set_ctx(None)
Exemplo n.º 3
0
 def handler(self, ctx):
     ctx = context.make_admin_context(all_tenants=True)
     context.set_ctx(ctx)
     func(self, ctx)
     context.set_ctx(None)
Exemplo n.º 4
0
 def handler(self, ctx):
     ctx = context.make_admin_context()
     context.set_ctx(ctx)
     func(self, ctx)
     context.set_ctx(None)