(self, func: Callable[[], Any])
| 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 |
no outgoing calls