From dcc1e636dd24c59f89cc8a6ed630d227c094a1d2 Mon Sep 17 00:00:00 2001 From: KonstantAnxiety Date: Fri, 6 Dec 2024 19:59:15 +0300 Subject: [PATCH] test 2 --- lib/dl_api_lib/dl_api_lib/app/control_api/app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dl_api_lib/dl_api_lib/app/control_api/app.py b/lib/dl_api_lib/dl_api_lib/app/control_api/app.py index 57053bab7..9d108136d 100644 --- a/lib/dl_api_lib/dl_api_lib/app/control_api/app.py +++ b/lib/dl_api_lib/dl_api_lib/app/control_api/app.py @@ -95,6 +95,9 @@ def create_app( ) -> flask.Flask: app = Flask(__name__) + from dl_api_lib.app.control_api.resources.connections import BIResource + connections_namespace.add_resource(BIResource, "/export/") + TracingMiddleware( url_prefix_exclude=( "/ping", @@ -162,7 +165,5 @@ def create_app( ma.init_app(app) init_apis(app) - from dl_api_lib.app.control_api.resources.connections import BIResource - connections_namespace.add_resource(BIResource, "/export/") return app