File tree Expand file tree Collapse file tree 4 files changed +2
-5
lines changed
Expand file tree Collapse file tree 4 files changed +2
-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 @@ -1521,7 +1521,6 @@ def plan_builder(
15211521
15221522 return self .PLAN_BUILDER_TYPE (
15231523 context_diff = context_diff ,
1524- environment = environment or c .PROD ,
15251524 start = start ,
15261525 end = end ,
15271526 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
9+
1010from sqlmesh .core .console import PlanBuilderConsole , get_console
1111from sqlmesh .core .config import (
1212 AutoCategorizationMode ,
@@ -117,7 +117,6 @@ def __init__(
117117 interval_end_per_model : t .Optional [t .Dict [str , int ]] = None ,
118118 console : t .Optional [PlanBuilderConsole ] = None ,
119119 user_provided_flags : t .Optional [t .Dict [str , UserProvidedFlags ]] = None ,
120- environment : str = c .PROD ,
121120 ):
122121 self ._context_diff = context_diff
123122 self ._no_gaps = no_gaps
You can’t perform that action at this time.
0 commit comments