Skip to content

How can I have better types on response classes? #829

Answered by vitalik
Johnhersh asked this question in Q&A
Discussion options

You must be logged in to vote

yeah, indeed at this moment there are no nice solution

but I'm planning somewhere in the future add suppport for pydantic dataclasses that should basically cover your case

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Johnhersh
Comment options

@vitalik
Comment options

Answer selected by Johnhersh
@Johnhersh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants