Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0: Update django.db.models.sql.datastructures #2159

Merged
merged 1 commit into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions django-stubs/db/models/sql/datastructures.pyi
Original file line number Diff line number Diff line change
@@ -33,7 +33,6 @@ class Join:
) -> None: ...
def as_sql(self, compiler: SQLCompiler, connection: BaseDatabaseWrapper) -> _AsSqlType: ...
def relabeled_clone(self, change_map: dict[str | None, str]) -> Join: ...
def equals(self, other: BaseTable | Join, with_filtered_relation: bool) -> bool: ...
def demote(self) -> Join: ...
def promote(self) -> Join: ...

@@ -46,4 +45,3 @@ class BaseTable:
def __init__(self, table_name: str, alias: str | None) -> None: ...
def as_sql(self, compiler: SQLCompiler, connection: BaseDatabaseWrapper) -> _AsSqlType: ...
def relabeled_clone(self, change_map: dict[str | None, str]) -> BaseTable: ...
def equals(self, other: Join, with_filtered_relation: bool) -> bool: ...
2 changes: 0 additions & 2 deletions scripts/stubtest/allowlist_todo.txt
Original file line number Diff line number Diff line change
@@ -1237,9 +1237,7 @@ django.db.models.sql.compiler.SQLCompiler.deferred_to_columns
django.db.models.sql.compiler.SQLCompiler.get_default_columns
django.db.models.sql.compiler.SQLCompiler.get_qualify_sql
django.db.models.sql.compiler.SQLCompiler.get_related_selections
django.db.models.sql.datastructures.BaseTable.equals
django.db.models.sql.datastructures.BaseTable.identity
django.db.models.sql.datastructures.Join.equals
django.db.models.sql.datastructures.Join.identity
django.db.models.sql.query.Query.__init__
django.db.models.sql.query.Query.add_annotation