Skip to content

Commit 30e33a0

Browse files
committed
execution_time should default to now()
1 parent fa1cd8b commit 30e33a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sqlmesh/core/context.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@
121121
from sqlmesh.utils.dag import DAG
122122
from sqlmesh.utils.date import (
123123
TimeLike,
124-
now_ds,
125124
to_timestamp,
126125
format_tz_datetime,
127126
now_timestamp,
@@ -1001,7 +1000,7 @@ def render(
10011000
Returns:
10021001
The rendered expression.
10031002
"""
1004-
execution_time = execution_time or now_ds()
1003+
execution_time = execution_time or now()
10051004

10061005
model = self.get_model(model_or_snapshot, raise_if_missing=True)
10071006

0 commit comments

Comments
 (0)