Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions dash/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -2395,3 +2395,11 @@ def update(pathname_, search_, **states):
Output(_ID_DUMMY, "children"),
Input(_ID_STORE, "data"),
)

def __call__(self, environ, start_response):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👌 no need to add server = app.server anymore

"""
This method makes instances of Dash WSGI-compliant callables.
It delegates the actual WSGI handling to the internal Flask app's
__call__ method.
"""
return self.server(environ, start_response)