From 2b751b549ade9139b8c31be58e6a851022bac490 Mon Sep 17 00:00:00 2001 From: Maulik Patel <21225464+maupatel@users.noreply.github.com> Date: Mon, 17 Aug 2026 16:41:46 -0500 Subject: [PATCH] Fix stale IntervalUnit docstring to match enum members Signed-off-by: Maulik Patel <21225464+maupatel@users.noreply.github.com> --- sqlmesh/core/node.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sqlmesh/core/node.py b/sqlmesh/core/node.py index 3ee97becc9..73e4a31940 100644 --- a/sqlmesh/core/node.py +++ b/sqlmesh/core/node.py @@ -28,7 +28,8 @@ class IntervalUnit(str, Enum): """IntervalUnit is the inferred granularity of an incremental node. - IntervalUnit can be one of 5 types, YEAR, MONTH, DAY, HOUR, MINUTE. The unit is inferred + IntervalUnit can be one of 7 types: YEAR, MONTH, DAY, HOUR, HALF_HOUR, QUARTER_HOUR, + FIVE_MINUTE. The unit is inferred based on the cron schedule of a node. The minimum time delta between a sample set of dates is used to determine which unit a node's schedule is.