Skip to content

Commit

Permalink
Mark nested output shapes as total
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Apr 29, 2024
1 parent 01e3bb8 commit ccdff2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mypy_boto3_builder/parsers/shape_parser.py
Expand Up @@ -403,8 +403,9 @@ def _parse_shape_structure(
),
attr_name in required,
)
if output:
if is_output_or_child:
self._mark_typed_dict_as_total(typed_dict)
if output:
self._add_response_metadata(typed_dict)

if found_typed_dict and not typed_dict.is_same(found_typed_dict):
Expand Down

0 comments on commit ccdff2e

Please sign in to comment.