Skip to content

Commit ce7d850

Browse files
committed
execution_time should default to now()
1 parent d0f69c3 commit ce7d850

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,
@@ -995,7 +994,7 @@ def render(
995994
Returns:
996995
The rendered expression.
997996
"""
998-
execution_time = execution_time or now_ds()
997+
execution_time = execution_time or now()
999998

1000999
model = self.get_model(model_or_snapshot, raise_if_missing=True)
10011000

0 commit comments

Comments
 (0)