From 7161c9d8ed414a5e61421e1997da2be08106885e Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Mon, 22 Jul 2024 12:10:05 -0400 Subject: [PATCH] feat(api): accept more input types in `ibis.range` --- ibis/expr/api.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ibis/expr/api.py b/ibis/expr/api.py index 6ec3e8e36c6c7..86409df276bb8 100644 --- a/ibis/expr/api.py +++ b/ibis/expr/api.py @@ -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=""):