@@ -159,8 +159,6 @@ def getApp(self, config:test, stage_file=True)->str:
159
159
verbose_print = True )
160
160
return str (destination )
161
161
162
-
163
-
164
162
# TODO (#266): disable the use_enum_values configuration
165
163
class Config_Base (BaseModel ):
166
164
model_config = ConfigDict (use_enum_values = True ,validate_default = True , arbitrary_types_allowed = True )
@@ -288,7 +286,6 @@ def getAPIPath(self)->pathlib.Path:
288
286
289
287
def getAppTemplatePath (self )-> pathlib .Path :
290
288
return self .path / "app_template"
291
-
292
289
293
290
294
291
class StackType (StrEnum ):
@@ -311,6 +308,16 @@ class inspect(build):
311
308
"should be enabled."
312
309
)
313
310
)
311
+ suppress_missing_content_exceptions : bool = Field (
312
+ default = False ,
313
+ description = (
314
+ "Suppress exceptions during metadata validation if a detection that existed in "
315
+ "the previous build does not exist in this build. This is to ensure that content "
316
+ "is not accidentally removed. In order to support testing both public and private "
317
+ "content, this warning can be suppressed. If it is suppressed, it will still be "
318
+ "printed out as a warning."
319
+ )
320
+ )
314
321
enrichments : bool = Field (
315
322
default = True ,
316
323
description = (
@@ -952,7 +959,6 @@ def check_environment_variable_for_config(cls, v:List[Infrastructure]):
952
959
index += 1
953
960
954
961
955
-
956
962
class release_notes (Config_Base ):
957
963
old_tag :Optional [str ] = Field (None , description = "Name of the tag to diff against to find new content. "
958
964
"If it is not supplied, then it will be inferred as the "
@@ -1034,6 +1040,4 @@ def ensureNewTagOrLatestBranch(self):
1034
1040
# raise ValueError("The latest_branch '{self.latest_branch}' was not found in the repository")
1035
1041
1036
1042
1037
- # return self
1038
-
1039
-
1043
+ # return self
0 commit comments