Skip to content

Commit

Permalink
Add missing annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Apr 4, 2024
1 parent fae3ca8 commit a14cab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parfive/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class _QueueList(List[_T]):
"""

def generate_queue(self, maxsize: int = 0) -> asyncio.Queue:
queue = asyncio.Queue(maxsize=maxsize)
queue: asyncio.Queue = asyncio.Queue(maxsize=maxsize)
for item in self:
queue.put_nowait(item)
self.clear()
Expand Down

0 comments on commit a14cab1

Please sign in to comment.