Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
fix: type error in Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Mar 30, 2021
1 parent dc5694a commit da9a55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai/backend/client/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
if hasattr(asyncio, 'all_tasks'): # Python 3.7+
all_tasks = asyncio.all_tasks
else:
all_tasks = asyncio.Task.all_tasks
all_tasks = asyncio.Task.all_tasks # type: ignore


def _cancel_all_tasks(loop):
Expand Down

0 comments on commit da9a55a

Please sign in to comment.