Skip to content

Unresolved TypeVar: How to provide overload when kwarg not provided #8998

Answered by erictraut
jonaslb asked this question in Q&A
Discussion options

You must be logged in to vote

You can delete the = ... in the second overload. The first overload already covers the case where a keyword argument t is not provided.

Replies: 1 comment 2 replies

Comment options

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

@jonaslb
Comment options

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