Skip to content

Mypy complains about QuerySet. Wrong number of type arguments #2279

Answered by intgr
baojd42 asked this question in Q&A
Discussion options

You must be logged in to vote

I think you're using an old unsupported version of mypy, which doesn't support TypeVar defaults. Current django-stubs requires mypy 1.11.x.

Replies: 1 comment 2 replies

Comment options

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

@Rastaalexander
Comment options

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