Skip to content

Commit ee4c505

Browse files
committed
chore: don't try to next(a tuple)
1 parent e3aa9d7 commit ee4c505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibis/expr/types/relations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5166,7 +5166,7 @@ def relocate(
51665166
def window_by(self, time_col: str | ir.Value, /) -> WindowedTable:
51675167
from ibis.expr.types.temporal_windows import WindowedTable
51685168

5169-
time_col = next(self.bind(time_col))
5169+
(time_col,) = self.bind(time_col)
51705170

51715171
# validate time_col is a timestamp column
51725172
if not isinstance(time_col, TimestampColumn):

0 commit comments

Comments
 (0)