MCPcopy Index your code
hub / github.com/plotly/dash / _after

Method _after

dash/backends/_quart.py:237–242  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

235 def after_request(self, func: _t.Callable[[], _t.Any]):
236 @self.server.after_request
237 async def _after(response):
238 if func is not None:
239 result = func()
240 if inspect.iscoroutine(result): # Allow async hooks
241 await result
242 return response
243
244 def has_request_context(self) -> bool:
245 if has_request_context is None:

Callers

nothing calls this directly

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected