Skip to content

Commit b907222

Browse files
committed
compat Python<3.9
1 parent a3207e2 commit b907222

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/idom/core/dispatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async def dispatch_single_view(
3737
task_group.start_soon(_single_incoming_loop, layout, recv)
3838

3939

40-
_SharedViewDispatcherFuture = Callable[[SendCoroutine, RecvCoroutine], Future[None]]
40+
_SharedViewDispatcherFuture = Callable[[SendCoroutine, RecvCoroutine], "Future[None]"]
4141
_SharedViewDispatcherCoro = Callable[[SendCoroutine, RecvCoroutine], Awaitable[None]]
4242

4343

src/idom/server/tornado.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import asyncio
24
import json
35
from asyncio import Queue as AsyncQueue

0 commit comments

Comments
 (0)