Skip to content

Conversation

rbiseck3
Copy link
Contributor

@rbiseck3 rbiseck3 commented Jan 6, 2025

Description

If the response type has typing data such as:

@dataclass
class Response:
  data: list[Union[int, str]]

This causes an error. This PR adds support for that.

@rbiseck3 rbiseck3 requested a review from nikpocuca January 6, 2025 20:12
Copy link

@nikpocuca nikpocuca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quick mock pr, looks good to me.

@rbiseck3 rbiseck3 merged commit cd950cc into main Jan 6, 2025
7 checks passed
@rbiseck3 rbiseck3 deleted the roman/fix-list-union-response-types branch January 6, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants