Shut down after a delay.
(self)
| 111 | raise KeyError(f"Unknown action {action.type!r}") |
| 112 | |
| 113 | def _shutdown(self): |
| 114 | """Shut down after a delay.""" |
| 115 | print("Server is shutting down...") |
| 116 | time.sleep(2) |
| 117 | self.shutdown() |
| 118 | |
| 119 | |
| 120 | def main(): |
nothing calls this directly
no outgoing calls
no test coverage detected