Skip to content

Commit 789a4f1

Browse files
schinckelintgr
andauthored
Fix F.resolve_expression() return type (#1659)
Co-authored-by: Marti Raudsepp <marti@juffo.org>
1 parent af16f4f commit 789a4f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django-stubs/db/models/expressions.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class F(Combinable):
133133
reuse: set[str] | None = ...,
134134
summarize: bool = ...,
135135
for_save: bool = ...,
136-
) -> F: ...
136+
) -> Expression: ...
137137
def replace_expressions(self, replacements: Mapping[F, Any]) -> F: ...
138138
def asc(
139139
self,

0 commit comments

Comments
 (0)