Skip to content

Commit 55b0adf

Browse files
committed
fix mypy
1 parent e5e3ef1 commit 55b0adf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

bigframes/dataframe.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,12 @@
9595

9696
import bigframes.session
9797

98-
SingleItemValue = Union[bigframes.series.Series, int, float, str, Callable]
99-
MultiItemValue = Union["DataFrame", Sequence[int | float | str | Callable]]
98+
SingleItemValue = Union[
99+
bigframes.series.Series, int, float, str, pandas.Timedelta, Callable
100+
]
101+
MultiItemValue = Union[
102+
"DataFrame", Sequence[int | float | str | pandas.Timedelta | Callable]
103+
]
100104

101105
LevelType = typing.Hashable
102106
LevelsType = typing.Union[LevelType, typing.Sequence[LevelType]]

0 commit comments

Comments
 (0)