From 3c0f30708bf409cf1f1dab8ba10b35ce0a6f272f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Sat, 18 May 2024 14:07:29 +0300 Subject: [PATCH] Add type annotation for Controller.start() (#420) --- aiosmtpd/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiosmtpd/controller.py b/aiosmtpd/controller.py index fb9617ca..fbb16be8 100644 --- a/aiosmtpd/controller.py +++ b/aiosmtpd/controller.py @@ -253,7 +253,7 @@ def _run(self, ready_event: threading.Event) -> None: self.loop.close() self.server = None - def start(self): + def start(self) -> None: """ Start a thread and run the asyncio event loop in that thread """