Skip to content

Commit 6192391

Browse files
committed
Make dash wsgi compliant
1 parent a5ff987 commit 6192391

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dash/dash.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2395,3 +2395,11 @@ def update(pathname_, search_, **states):
23952395
Output(_ID_DUMMY, "children"),
23962396
Input(_ID_STORE, "data"),
23972397
)
2398+
2399+
def __call__(self, environ, start_response):
2400+
"""
2401+
This method makes instances of Dash WSGI-compliant callables.
2402+
It delegates the actual WSGI handling to the internal Flask app's
2403+
__call__ method.
2404+
"""
2405+
return self.server(environ, start_response)

0 commit comments

Comments
 (0)