From 7c0435def581c7f21510831c4b42de586997d431 Mon Sep 17 00:00:00 2001 From: Iaroslav Zeigerman Date: Mon, 16 Jun 2025 14:01:24 -0700 Subject: [PATCH] Chore: Allow --run argument for non-prod environments in dev --- sqlmesh/core/context.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/sqlmesh/core/context.py b/sqlmesh/core/context.py index f919c51182..dc2eba42d9 100644 --- a/sqlmesh/core/context.py +++ b/sqlmesh/core/context.py @@ -1430,9 +1430,6 @@ def plan_builder( "When targeting the production environment either the backfill should not be skipped or the lack of data gaps should be enforced (--no-gaps flag)." ) - if run and is_dev: - raise ConfigError("The '--run' flag is only supported for the production environment.") - if not skip_linter: self.lint_models()