We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 708d5c2 commit 52f3ed1Copy full SHA for 52f3ed1
src/dash_app.py
@@ -39,12 +39,12 @@
39
DASH.layout = body.html
40
DASH.title = "Penn Medicine CHIME" #! Should be moved into config / out of view
41
42
-@server.route("/download/<path:path>")
+
43
+@DASH.server.route("/download/<path:path>")
44
def download(path):
45
"""Serve a file from the upload directory."""
46
return send_from_directory(UPLOAD_DIRECTORY, path, as_attachment=True)
47
-@app.callback(body.callback_outputs, list(body.callback_inputs.values()))
48
49
@DASH.callback(body.callback_outputs, list(body.callback_inputs.values()))
50
def callback(*args): # pylint: disable=W0612
0 commit comments