From 30e33a0fbeba999290457353483531445a325914 Mon Sep 17 00:00:00 2001 From: Trey Spiller Date: Mon, 30 Jun 2025 17:07:02 -0500 Subject: [PATCH] execution_time should default to now() --- sqlmesh/core/context.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sqlmesh/core/context.py b/sqlmesh/core/context.py index 402ed22fee..1be6ca1dac 100644 --- a/sqlmesh/core/context.py +++ b/sqlmesh/core/context.py @@ -121,7 +121,6 @@ from sqlmesh.utils.dag import DAG from sqlmesh.utils.date import ( TimeLike, - now_ds, to_timestamp, format_tz_datetime, now_timestamp, @@ -1001,7 +1000,7 @@ def render( Returns: The rendered expression. """ - execution_time = execution_time or now_ds() + execution_time = execution_time or now() model = self.get_model(model_or_snapshot, raise_if_missing=True)