Skip to content

Commit

Permalink
4.2.8: Update Query.resolve_lookup_value() parameters (#2136)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeHyuckSa authored May 9, 2024
1 parent 57c22f1 commit c36c34d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion django-stubs/db/models/sql/query.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 0 additions & 2 deletions scripts/stubtest/allowlist_todo_django50.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,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
Expand Down

0 comments on commit c36c34d

Please sign in to comment.