Skip to content

Commit

Permalink
Fix Session.peer type annotation
Browse files Browse the repository at this point in the history
Fixes: #518
  • Loading branch information
cuu508 committed Oct 28, 2024
1 parent 9ecdc36 commit 3178b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiosmtpd/smtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def __repr__(self) -> str:
@public
class Session:
def __init__(self, loop: asyncio.AbstractEventLoop):
self.peer: Optional[str] = None
self.peer: Optional[Tuple[str, int]] = None
self.ssl: Optional[dict[str, Any]] = None
self.host_name: Optional[str] = None
self.extended_smtp = False
Expand Down

0 comments on commit 3178b9d

Please sign in to comment.