Skip to content
Discussion options

You must be logged in to vote

This isn't something you can do with a TypedDict, and I don't think the upcoming PEP for TypedDict + kwargs will support it. You should use overloads instead.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@93578237
Comment options

@JelleZijlstra
Comment options

@93578237
Comment options

@erictraut
Comment options

@93578237
Comment options

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