(self)
| 371 | self._after_request_func = func |
| 372 | |
| 373 | def has_request_context(self) -> bool: |
| 374 | try: |
| 375 | get_current_request() |
| 376 | return True |
| 377 | except RuntimeError: |
| 378 | return False |
| 379 | |
| 380 | def run(self, dash_app: Dash, host, port, debug, **kwargs): # pylint: disable=R0912 |
| 381 | frame = inspect.stack()[2] |
nothing calls this directly
no test coverage detected