Skip to content

Commit

Permalink
Update for latest MyPy
Browse files Browse the repository at this point in the history
  • Loading branch information
aiudirog committed Jul 3, 2024
1 parent da32f6f commit 4d38833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiuti/asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ async def _queue_elements() -> None:
future = pool.submit(_set_loop_and_queue_elements, loop)
try:
while (i := q.get()) is not _DONE:
yield i # type: ignore
yield i
finally:
future.result()

Expand Down

0 comments on commit 4d38833

Please sign in to comment.