Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Locally we use
server = Flask(__name__)
app = dash.Dash(__name__, server)
Is there a way to assign flask server to dash app?
Hi,
when you run a Dash webapp in DSS, DSS actually creates the Flask server and assigns it to the Dash app, exactly like you're doing. This means that as a DSS user you won't have access to the Flask server creation. What Flask options do you need to control?
I am trying to init SQLAlchemy,
and login manager from flask_login.
can I directly use server the way I can use app without instiating it?
I found it.
All this while I was creating a flask instance like:
server = Flask(__name__)
all I had to do was use it from app ie.,
server = app.server.
Thanks @fchataigner2 , your explanation helped!
Weโre glad you were able to figure it out @vishal!