Skip to content

Commit

Permalink
Add type annotation for Controller.start() (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuu508 committed May 18, 2024
1 parent b3a4a2c commit 3c0f307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiosmtpd/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down

0 comments on commit 3c0f307

Please sign in to comment.