Skip to content

Typeddict from schema or the other way around #899

Answered by bufke
fretchen asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure what you don't want calculate_fancy to return MyFancySchema. Then there is no need to convert it. Can you explain your use case?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@bufke
Comment options

Answer selected by fretchen
@fretchen
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