diff --git a/django-stubs/db/models/sql/datastructures.pyi b/django-stubs/db/models/sql/datastructures.pyi index fde898b1e..f19455bec 100644 --- a/django-stubs/db/models/sql/datastructures.pyi +++ b/django-stubs/db/models/sql/datastructures.pyi @@ -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: ... diff --git a/scripts/stubtest/allowlist_todo.txt b/scripts/stubtest/allowlist_todo.txt index 111c84dcd..949afda14 100644 --- a/scripts/stubtest/allowlist_todo.txt +++ b/scripts/stubtest/allowlist_todo.txt @@ -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