Hello, I have been trying dash this last week and I think you have made a really awesome product
However, after trying a lot I havenât been able to get typical flask app decorators to work with Dash, since Dash runs on Flask, I thought it would be possible to use decorators such as (at)before_first_request or (at)after_request,
When I try it with a pure Dash app, the code wonât even run since there isnât such a decorator, but when I define for example:
server = flask.Flask(name)
app = dash.Dash(name, server=server)
I am able to define the following function, and run the code without issues:
(at)server.before_request
def parse_request():
print âaâ
However, this function iteself never executes, so I am getting no output.
I would like to know if this is normal behaviour or what I should do to get such decorators to work.
Thanks in advance!