Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed May 2, 2024
1 parent 68a6880 commit c9efdda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion httpx_ws/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,8 @@ def _wait_until_closed(
except RuntimeError as e:
raise ShouldClose() from e
done, pending = concurrent.futures.wait( # type: ignore
(todo_task, wait_close_task), return_when=concurrent.futures.FIRST_COMPLETED
(todo_task, wait_close_task), # type: ignore
return_when=concurrent.futures.FIRST_COMPLETED,
)
for task in pending:
task.cancel()
Expand Down

0 comments on commit c9efdda

Please sign in to comment.