We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 908d66a commit 79e9f2bCopy full SHA for 79e9f2b
2 files changed
requirements/extras.txt
@@ -1,5 +1,5 @@
1
# extra=sanic
2
-sanic >=19.9.0, <20.0
+sanic >=19.12.0, <20.0
3
sanic-cors >=0.9.9, <1.0
4
5
# extra=matplotlib
src/py/idom/core/render.py
@@ -87,11 +87,7 @@ def __init__(self, layout: AbstractLayout) -> None:
87
async def run(self, send: SendCoroutine, recv: RecvCoroutine, context: str) -> None:
88
self._updates[context] = asyncio.Queue()
89
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
- )
+ await asyncio.gather(super().run(send, recv, context), self._render_task)
95
except Exception:
96
del self._updates[context]
97
raise
0 commit comments