Skip to content

Commit

Permalink
fix for Python 3.8: asyncio.Task is not a generic type
Browse files Browse the repository at this point in the history
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
  • Loading branch information
achille-roussel committed Jun 12, 2024
1 parent db64dee commit d855b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dispatch/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def url(self):


class Service(web.Application):
tasks: Dict[str, asyncio.Task[CallResult]]
tasks: Dict[str, asyncio.Task]
_session: Optional[aiohttp.ClientSession] = None

def __init__(self, session: Optional[aiohttp.ClientSession] = None):
Expand Down

0 comments on commit d855b3d

Please sign in to comment.