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

Commit da9a55a

Browse files
committed
fix: type error in Python 3.9
1 parent dc5694a commit da9a55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ai/backend/client/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
if hasattr(asyncio, 'all_tasks'): # Python 3.7+
2222
all_tasks = asyncio.all_tasks
2323
else:
24-
all_tasks = asyncio.Task.all_tasks
24+
all_tasks = asyncio.Task.all_tasks # type: ignore
2525

2626

2727
def _cancel_all_tasks(loop):

0 commit comments

Comments
 (0)