File tree 2 files changed +1
-5
lines changed
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 37
37
# and use a string literal forward reference to it in subsequent types
38
38
# https://mypy.readthedocs.io/en/latest/common_issues.html#import-cycles
39
39
if TYPE_CHECKING :
40
- from typing import TypedDict
41
-
42
40
import numpy .typing as npt
43
41
44
42
from pandas ._libs import (
73
71
from pandas .tseries .offsets import DateOffset
74
72
else :
75
73
npt : Any = None
76
- # typing.TypedDict does not exist until py38
77
- TypedDict = dict
78
74
79
75
80
76
# array-like
Original file line number Diff line number Diff line change 12
12
Optional ,
13
13
Sequence ,
14
14
Tuple ,
15
+ TypedDict ,
15
16
Union ,
16
17
)
17
18
from uuid import uuid4
21
22
from pandas ._config import get_option
22
23
23
24
from pandas ._libs import lib
24
- from pandas ._typing import TypedDict
25
25
from pandas .compat ._optional import import_optional_dependency
26
26
27
27
from pandas .core .dtypes .generic import ABCSeries
You can’t perform that action at this time.
0 commit comments