Make the service available to code on the request context

This commit is contained in:
Martyn Inglis
2017-05-05 15:20:23 +01:00
parent 0c160c3419
commit 34c9198d0c

View File

@@ -40,6 +40,7 @@ performance_platform_client = PerformancePlatformClient()
clients = Clients()
api_user = LocalProxy(lambda: _request_ctx_stack.top.api_user)
authenticated_service = LocalProxy(lambda: _request_ctx_stack.top.authenticated_service)
def create_app(app_name=None):