Incorrect type annotation for instance field expression
in OrderBy
#200
Labels
bug
Something isn't working
expression
in OrderBy
#200
https://github.com/sbdchd/django-types/blob/06da6da7fce4d8bc944e74b403e470ee1eacb57e/django-stubs/db/models/expressions.pyi#L160C32-L160C32
The type annotation should be
Expression | F | Subquery
instead ofExpression
(Source)The related code from django's constructor is
self.expression = expression
(source)The text was updated successfully, but these errors were encountered: