Skip to content

Commit 98c195e

Browse files
fix type checking on Python 3.8
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
1 parent 0b12997 commit 98c195e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/dispatch/test_scheduler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
from typing import Any, Callable, List, Optional, Type
2+
from typing import Any, Callable, List, Optional, Type, Set
33

44
from dispatch.coroutine import AnyException, any, call, gather, race
55
from dispatch.experimental.durable import durable
@@ -255,7 +255,7 @@ async def main():
255255
result3 = await call_concurrently("g", "h")
256256
return [result1, result2, result3]
257257

258-
correlation_ids: set[int] = set()
258+
correlation_ids: Set[int] = set()
259259

260260
output = self.start(main)
261261
# a, b, c, d are called first. e is not because it depends on a.

0 commit comments

Comments
 (0)