When 2 or more dash apps are registered on the same flask server, an AssertionError is raised as unique names are not created from the dash apps. below is the sample code.
import dash_html_components as html
server = flask.Flask(name)
app1 = dash.Dash(name=‘app1’,server=server, url_base_pathname=’/app1/’)
app2 = dash.Dash(name=‘app2’,server=server, url_base_pathname=’/app2/’)
if name == ‘main’:
AssertionError: A name collision occurred between blueprints <flask.blueprints.Blueprint object at 0x0000000009B589E8> and <flask.blueprints.Blueprint object at 0x0000000003BFB320>. Both share the same name “assets”. Blueprints that are created on the fly need unique names.