Skip to content

Commit e8bb80f

Browse files
committed
Load suppress_publish flag from metadata
1 parent e28a301 commit e8bb80f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aws_doc_sdk_examples_tools/yaml_mapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def example_from_yaml(
5353
check_aws=validation.check_aws,
5454
)
5555
synopsis_list = [str(syn) for syn in yaml.get("synopsis_list", [])]
56+
suppress_publish = yaml.get("suppress_publish", False)
5657

5758
source_key = yaml.get("source_key")
5859
guide_topic = url_from_yaml(yaml.get("guide_topic"))
@@ -124,6 +125,7 @@ def example_from_yaml(
124125
synopsis=synopsis,
125126
synopsis_list=synopsis_list,
126127
source_key=source_key,
128+
suppress_publish=suppress_publish,
127129
),
128130
errors,
129131
)

0 commit comments

Comments
 (0)