Skip to content

Commit f7e575a

Browse files
authored
Only show progress bar if snapshots to process (#1330)
1 parent b4dbb45 commit f7e575a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sqlmesh/core/scheduler.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,10 @@ def run(
220220
restatements=restatements,
221221
ignore_cron=ignore_cron,
222222
)
223+
if not batches:
224+
self.console.log_success("No models scheduled to run at this time.")
225+
return True
226+
223227
dag = self._dag(batches)
224228

225229
visited = set()

0 commit comments

Comments
 (0)