Method: flask.blueprints.Blueprint.after_app_request
Calls: 1, Exceptions: 0, Paths: 1Back
Path 1: 1 calls (1.0)
test_app_request_processing.
test_app_request_processing.
1@setupmethod
2 def after_app_request(self, f: T_after_request) -> T_after_request:
3 """Like :meth:`after_request`, but after every request, not only those handled
4 by the blueprint. Equivalent to :meth:`.Flask.after_request`.
5 """
6 self.record_once(
7 lambda s: s.app.after_request_funcs.setdefault(None, []).append(f)
8 )
9 return f