Skip to content

Commit

Permalink
feat(api): accept more input types in ibis.range
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jul 22, 2024
1 parent 0680bf2 commit 7161c9d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ibis/expr/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2236,9 +2236,7 @@ def _timestamp_range(
stop: datetime.datetime | ir.TimestampValue | str,
step: datetime.timedelta | ir.IntervalValue,
) -> ir.ArrayValue:
return ops.TimestampRange(
start=normalize_datetime(start), stop=normalize_datetime(stop), step=step
).to_expr()
return ops.TimestampRange(start=start, stop=stop, step=step).to_expr()


def _wrap_deprecated(fn, prefix=""):
Expand Down

0 comments on commit 7161c9d

Please sign in to comment.