Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion aws_doc_sdk_examples_tools/doc_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,12 @@ def fill_missing_fields(self):
# TODO Log and find which tributaries this effects, as it was supposed to be caught by validations.
continue
action = (
next((k for k in example.services[service_id]), None)
next((k for k in example.services.get(service_id, [])), None)
or example.id.split("_", 1)[1]
)
if action is None:
# TODO Log and find which tributaries this effects, as it was supposed to be caught by validations.
continue
example.fill_display_fields(
self.categories, self.services[service_id].short, action
)
Expand Down
Loading