Skip to content

Commit 79e9f2b

Browse files
committed
new mypy version fixes weird type issue
1 parent 908d66a commit 79e9f2b

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

requirements/extras.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# extra=sanic
2-
sanic >=19.9.0, <20.0
2+
sanic >=19.12.0, <20.0
33
sanic-cors >=0.9.9, <1.0
44

55
# extra=matplotlib

src/py/idom/core/render.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,7 @@ def __init__(self, layout: AbstractLayout) -> None:
8787
async def run(self, send: SendCoroutine, recv: RecvCoroutine, context: str) -> None:
8888
self._updates[context] = asyncio.Queue()
8989
try:
90-
await asyncio.gather(
91-
super().run(send, recv, context),
92-
# not sure why `Future[None]` isn't allowed here
93-
self._render_task, # type: ignore
94-
)
90+
await asyncio.gather(super().run(send, recv, context), self._render_task)
9591
except Exception:
9692
del self._updates[context]
9793
raise

0 commit comments

Comments
 (0)