✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Dash + Flask, with Blueprints

I am currently able to integrate my Flask application, with a couple of test Dash apps with the following code.

application = DispatcherMiddleware(app, {

    '/app1': app1.server,  # Suffix to the route, that will display app1

    '/app2': app2.server,

})

I’m wondering if I would be able to add the two Dash apps (app1 & app2) to selected Blueprints of the Flask app (meaning they come with a prefix in the route, like /users or /items), instead of being on the same level as the Flask app.

Also, how can I find out what the requests_pathname_prefix / routes_pathname_prefix arguments respresent?