Skip to content

Commit 2b751b5

Browse files
committed
Fix stale IntervalUnit docstring to match enum members
Signed-off-by: Maulik Patel <21225464+maupatel@users.noreply.github.com>
1 parent 7a09da6 commit 2b751b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sqlmesh/core/node.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
class IntervalUnit(str, Enum):
2929
"""IntervalUnit is the inferred granularity of an incremental node.
3030
31-
IntervalUnit can be one of 5 types, YEAR, MONTH, DAY, HOUR, MINUTE. The unit is inferred
31+
IntervalUnit can be one of 7 types: YEAR, MONTH, DAY, HOUR, HALF_HOUR, QUARTER_HOUR,
32+
FIVE_MINUTE. The unit is inferred
3233
based on the cron schedule of a node. The minimum time delta between a sample set of dates
3334
is used to determine which unit a node's schedule is.
3435

0 commit comments

Comments
 (0)