File tree 2 files changed +9
-5
lines changed 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 14
14
15
15
from kazoo .exceptions import CancelledError
16
16
17
+ from typing_extensions import TypedDict
18
+
17
19
if TYPE_CHECKING :
18
20
from kazoo .client import KazooClient
19
21
from typing import Callable , Optional
20
- from typing_extensions import TypedDict
21
22
22
- class LeaseData (TypedDict ):
23
- version : int
24
- holder : str
25
- end : str
23
+ class LeaseData (TypedDict ):
24
+ version : int
25
+ holder : str
26
+ end : str
26
27
27
28
28
29
class NonBlockingLease (object ):
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ packages = find:
42
42
install_requires =
43
43
six
44
44
selectors2>=2.0.2 ; python_version < "3.4.0"
45
+ typing-extensions
45
46
46
47
[aliases]
47
48
release = sdist bdist_wheel
66
67
67
68
typing =
68
69
mypy
70
+ types-six
69
71
types-mock
70
72
71
73
eventlet =
@@ -86,5 +88,6 @@ alldeps =
86
88
%(gevent)s
87
89
%(sasl)s
88
90
%(docs)s
91
+ %(typing)s
89
92
90
93
You can’t perform that action at this time.
0 commit comments