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
@q0w
Comment options

@JelleZijlstra
Comment options

@q0w
Comment options

@erictraut
Comment options

@q0w
Comment options

Answer selected by q0w
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