(
auto_pilot: AutopilotCallbackType, pilot: Pilot
)
| 2262 | if auto_pilot is not None: |
| 2263 | |
| 2264 | async def run_auto_pilot( |
| 2265 | auto_pilot: AutopilotCallbackType, pilot: Pilot |
| 2266 | ) -> None: |
| 2267 | with self._context(): |
| 2268 | try: |
| 2269 | await auto_pilot(pilot) |
| 2270 | except Exception: |
| 2271 | app.exit() |
| 2272 | raise |
| 2273 | |
| 2274 | pilot = Pilot(app) |
| 2275 | auto_pilot_task = create_task( |
nothing calls this directly
no test coverage detected