Skip to content

Commit

Permalink
fix: deque typing
Browse files Browse the repository at this point in the history
  • Loading branch information
cole committed Nov 2, 2023
1 parent 4d74135 commit de29dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiosmtplib/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import collections
import re
import ssl
from typing import Optional, cast
from typing import Deque, Optional, cast

from .errors import (
SMTPDataError,
Expand Down Expand Up @@ -45,7 +45,7 @@ def __init__(self, loop: Optional[asyncio.AbstractEventLoop] = None):
self._loop = loop

self._paused = False
self._drain_waiters = collections.deque()
self._drain_waiters: Deque[asyncio.Future[None]] = collections.deque()
self._connection_lost = False

def pause_writing(self) -> None:
Expand Down

0 comments on commit de29dc3

Please sign in to comment.