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
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@ def begin_struct(self, schema: "Schema") -> Iterator[ShapeSerializer]:
# Note that if we're serializing an operation input or output, it won't be a
# union at all, so this won't get triggered. Thankfully, that's what we want.
if schema.shape_type is ShapeType.UNION:
try:
yield self
finally:
return
yield self
return

headers: dict[str, HEADER_VALUE] = {}

Expand Down
Loading