Skip to content

Commit

Permalink
test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantAnxiety authored Dec 6, 2024
1 parent 568b7d6 commit dcc1e63
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/dl_api_lib/dl_api_lib/app/control_api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/<connection_id>")

TracingMiddleware(
url_prefix_exclude=(
"/ping",
Expand Down Expand Up @@ -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/<connection_id>")

return app

0 comments on commit dcc1e63

Please sign in to comment.