File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
from collections import OrderedDict
7
7
from dataclasses import dataclass
8
8
from typing import Optional
9
- from typing_extensions import TypeAlias
10
9
11
10
import grpc
12
11
import httpx
12
+ from typing_extensions import TypeAlias
13
13
14
14
import dispatch .sdk .v1 .call_pb2 as call_pb
15
15
import dispatch .sdk .v1 .dispatch_pb2 as dispatch_pb
@@ -87,11 +87,11 @@ def __init__(
87
87
self .pollers : dict [DispatchID , Poller ] = {}
88
88
self .parents : dict [DispatchID , Poller ] = {}
89
89
90
- self .roundtrips : OrderedDict [DispatchID , list [RoundTrip ]] | None = None
90
+ self .roundtrips : Optional [ OrderedDict [DispatchID , list [RoundTrip ]]] = None
91
91
if collect_roundtrips :
92
92
self .roundtrips = OrderedDict ()
93
93
94
- self ._thread : threading . Optional [Thread ] = None
94
+ self ._thread : Optional [threading . Thread ] = None
95
95
self ._stop_event = threading .Event ()
96
96
self ._work_signal = threading .Condition ()
97
97
You can’t perform that action at this time.
0 commit comments