diff --git a/django-stubs/db/models/sql/query.pyi b/django-stubs/db/models/sql/query.pyi index aada253a2..2a4ba6a21 100644 --- a/django-stubs/db/models/sql/query.pyi +++ b/django-stubs/db/models/sql/query.pyi @@ -111,7 +111,9 @@ class Query(BaseExpression): def get_initial_alias(self) -> str: ... def count_active_tables(self) -> int: ... def resolve_expression(self, query: Query, *args: Any, **kwargs: Any) -> Query: ... # type: ignore[override] - def resolve_lookup_value(self, value: Any, can_reuse: set[str] | None, allow_joins: bool) -> Any: ... + def resolve_lookup_value( + self, value: Any, can_reuse: set[str] | None, allow_joins: bool, summarize: bool = False + ) -> Any: ... def solve_lookup_type(self, lookup: str) -> tuple[Sequence[str], Sequence[str], Expression | Literal[False]]: ... def build_filter( self, diff --git a/scripts/stubtest/allowlist_todo_django50.txt b/scripts/stubtest/allowlist_todo_django50.txt index 2818f0ace..7cb0be076 100644 --- a/scripts/stubtest/allowlist_todo_django50.txt +++ b/scripts/stubtest/allowlist_todo_django50.txt @@ -82,11 +82,9 @@ django.db.models.query_utils.FilteredRelation.resolve_expression django.db.models.query_utils.Q.identity django.db.models.sql.Query.build_filtered_relation_q django.db.models.sql.Query.join -django.db.models.sql.Query.resolve_lookup_value django.db.models.sql.Query.setup_joins django.db.models.sql.query.Query.build_filtered_relation_q django.db.models.sql.query.Query.join -django.db.models.sql.query.Query.resolve_lookup_value django.db.models.sql.query.Query.setup_joins django.forms.ClearableFileInput.checked django.forms.fields_for_model