Skip to content

Commit d8501c3

Browse files
authored
Merge pull request #3622 from plotly/update-docs
Update `server` description
2 parents c820fee + b584e4b commit d8501c3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

dash/dash.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,11 @@ class Dash(ObsoleteChecker):
237237
best value to use. Default ``'__main__'``, env: ``DASH_APP_NAME``
238238
:type name: string
239239
240-
:param server: Sets the Flask server for your app. There are three options:
241-
``True`` (default): Dash will create a new server
240+
:param server: Sets the server for your app. There are three options:
241+
``True`` (default): Dash will create a new server using the specified backend
242242
``False``: The server will be added later via ``app.init_app(server)``
243-
where ``server`` is a ``flask.Flask`` instance.
244-
``flask.Flask``: use this pre-existing Flask server.
245-
:type server: boolean or flask.Flask
243+
A server instance: Use a pre-existing server (Flask, Quart, or FastAPI)
244+
:type server: boolean or server instance
246245
247246
:param backend: The backend to use for the Dash app. Can be a string
248247
(name of the backend) or a backend class. Default is None, which

0 commit comments

Comments
 (0)