File tree Expand file tree Collapse file tree 4 files changed +1
-5
lines changed
Expand file tree Collapse file tree 4 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class PlanConfig(BaseConfig):
2020 auto_apply: Whether to automatically apply the new plan after creation.
2121 use_finalized_state: Whether to compare against the latest finalized environment state, or to use
2222 whatever state the target environment is currently in.
23- always_recreate_environment: Whether to always recreate the target environment from the prod environment.
23+ always_recreate_environment: Whether to always recreate the target environment from the `create_from` environment.
2424 """
2525
2626 forward_only : bool = False
Original file line number Diff line number Diff line change @@ -1518,7 +1518,6 @@ def plan_builder(
15181518
15191519 return self .PLAN_BUILDER_TYPE (
15201520 context_diff = context_diff ,
1521- environment = environment or c .PROD ,
15221521 start = start ,
15231522 end = end ,
15241523 execution_time = execution_time ,
Original file line number Diff line number Diff line change 1414
1515import sys
1616import typing as t
17-
1817from difflib import ndiff , unified_diff
1918from functools import cached_property
2019from sqlmesh .core import constants as c
Original file line number Diff line number Diff line change 66from collections import defaultdict
77from functools import cached_property
88
9- from sqlmesh .core import constants as c
109from sqlmesh .core .console import PlanBuilderConsole , get_console
1110from sqlmesh .core .config import (
1211 AutoCategorizationMode ,
@@ -115,7 +114,6 @@ def __init__(
115114 interval_end_per_model : t .Optional [t .Dict [str , int ]] = None ,
116115 console : t .Optional [PlanBuilderConsole ] = None ,
117116 user_provided_flags : t .Optional [t .Dict [str , UserProvidedFlags ]] = None ,
118- environment : str = c .PROD ,
119117 ):
120118 self ._context_diff = context_diff
121119 self ._no_gaps = no_gaps
You can’t perform that action at this time.
0 commit comments