MCPcopy
hub / github.com/plotly/dash / before_request

Method before_request

dash/backends/_flask.py:158–160  ·  view source on GitHub ↗
(self, func: Callable[[], Any])

Source from the content-addressed store, hash-verified

156 )
157
158 def before_request(self, func: Callable[[], Any]):
159 # Flask expects a callable; user responsibility not to pass None
160 self.server.before_request(func)
161
162 def after_request(self, func: Callable[[Any], Any]):
163 # Flask after_request expects a function(response) -> response

Callers 4

register_timing_hooksMethod · 0.95
init_appMethod · 0.45
enable_pagesMethod · 0.45

Calls

no outgoing calls

Tested by 1