File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1414
1515from kazoo .exceptions import CancelledError
1616
17+ from typing_extensions import TypedDict
18+
1719if TYPE_CHECKING :
1820 from kazoo .client import KazooClient
1921 from typing import Callable , Optional
20- from typing_extensions import TypedDict
2122
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
2627
2728
2829class NonBlockingLease (object ):
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ packages = find:
4242install_requires =
4343 six
4444 selectors2>=2.0.2 ; python_version < "3.4.0"
45+ typing-extensions
4546
4647[aliases]
4748release = sdist bdist_wheel
6667
6768typing =
6869 mypy
70+ types-six
6971 types-mock
7072
7173eventlet =
@@ -86,5 +88,6 @@ alldeps =
8688 %(gevent)s
8789 %(sasl)s
8890 %(docs)s
91+ %(typing)s
8992
9093
You can’t perform that action at this time.
0 commit comments