Skip to content

Commit 7e5f195

Browse files
authored
Chore: Allow --run argument for non-prod environments in dev (#4747)
1 parent d4cc990 commit 7e5f195

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sqlmesh/core/context.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,9 +1430,6 @@ def plan_builder(
14301430
"When targeting the production environment either the backfill should not be skipped or the lack of data gaps should be enforced (--no-gaps flag)."
14311431
)
14321432

1433-
if run and is_dev:
1434-
raise ConfigError("The '--run' flag is only supported for the production environment.")
1435-
14361433
if not skip_linter:
14371434
self.lint_models()
14381435

0 commit comments

Comments
 (0)