Skip to content

Commit

Permalink
children_artifacts_dir behind flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-gbloom committed Dec 10, 2024
1 parent 5014ad1 commit 5376f8c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,15 @@ def verify_children_behind_flag(
raise AttributeError("Application package children are not supported yet")
return input_value

@field_validator("children_artifacts_dir", mode="before")
@classmethod
def verify_children_artifacts_dir_behind_flag(
cls, input_value: Optional[str]
) -> Optional[str]:
if input_value and not FeatureFlag.ENABLE_NATIVE_APP_CHILDREN.is_enabled():
raise AttributeError("Application package children are not supported yet")
return input_value

@field_validator("identifier")
@classmethod
def append_test_resource_suffix_to_identifier(
Expand Down

0 comments on commit 5376f8c

Please sign in to comment.