Skip to content

Commit 8ec0d11

Browse files
committed
refactor(api)!: ibis.preceding/ibis.following` are now positional-only
1 parent 633ccab commit 8ec0d11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ibis/expr/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,11 +674,11 @@ def asc(expr: ir.Column | str, /, *, nulls_first: bool = False) -> ir.Value:
674674
return _deferred_method_call(expr, "asc", nulls_first=nulls_first)
675675

676676

677-
def preceding(value) -> ir.Value:
677+
def preceding(value, /) -> ir.Value:
678678
return ops.WindowBoundary(value, preceding=True).to_expr()
679679

680680

681-
def following(value) -> ir.Value:
681+
def following(value, /) -> ir.Value:
682682
return ops.WindowBoundary(value, preceding=False).to_expr()
683683

684684

0 commit comments

Comments
 (0)