Avoid unhandled-exception warnings from spawned coroutines.
(self, future: Future)
| 778 | app_log.error("Exception in callback %r", callback, exc_info=True) |
| 779 | |
| 780 | def _discard_future_result(self, future: Future) -> None: |
| 781 | """Avoid unhandled-exception warnings from spawned coroutines.""" |
| 782 | future.result() |
| 783 | |
| 784 | def split_fd( |
| 785 | self, fd: Union[int, _Selectable] |