Skip to content

Commit

Permalink
Add typing of django.db.migrations.autodetector (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeHyuckSa authored May 12, 2024
1 parent 997eda8 commit f3dcf83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions django-stubs/db/migrations/autodetector.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,24 @@ class MigrationAutodetector:
def generate_created_proxies(self) -> None: ...
def generate_deleted_models(self) -> None: ...
def generate_deleted_proxies(self) -> None: ...
def create_renamed_fields(self) -> None: ...
renamed_fields: Any
def generate_renamed_fields(self) -> None: ...
def generate_added_fields(self) -> None: ...
def generate_removed_fields(self) -> None: ...
def generate_altered_fields(self) -> None: ...
def create_altered_indexes(self) -> None: ...
def generate_renamed_indexes(self) -> None: ...
def create_altered_constraints(self) -> None: ...
def generate_added_constraints(self) -> None: ...
def generate_removed_constraints(self) -> None: ...
def generate_added_indexes(self) -> None: ...
def generate_removed_indexes(self) -> None: ...
def generate_removed_altered_unique_together(self) -> None: ...
def generate_altered_unique_together(self) -> None: ...
def generate_altered_index_together(self) -> None: ...
def generate_altered_db_table(self) -> None: ...
def generate_altered_db_table_comment(self) -> None: ...
def generate_altered_options(self) -> None: ...
def generate_altered_order_with_respect_to(self) -> None: ...
def generate_altered_managers(self) -> None: ...
Expand Down
7 changes: 0 additions & 7 deletions scripts/stubtest/allowlist_todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -642,14 +642,7 @@ django.db.backends.utils.names_digest
django.db.backends.utils.split_tzname_delta
django.db.connection
django.db.migrations.Migration.suggest_name
django.db.migrations.autodetector.MigrationAutodetector.create_altered_constraints
django.db.migrations.autodetector.MigrationAutodetector.create_renamed_fields
django.db.migrations.autodetector.MigrationAutodetector.generate_added_constraints
django.db.migrations.autodetector.MigrationAutodetector.generate_altered_db_table_comment
django.db.migrations.autodetector.MigrationAutodetector.generate_removed_altered_index_together
django.db.migrations.autodetector.MigrationAutodetector.generate_removed_altered_unique_together
django.db.migrations.autodetector.MigrationAutodetector.generate_removed_constraints
django.db.migrations.autodetector.MigrationAutodetector.generate_renamed_indexes
django.db.migrations.graph.MigrationGraph.make_state
django.db.migrations.graph.Node.__ge__
django.db.migrations.graph.Node.__gt__
Expand Down

0 comments on commit f3dcf83

Please sign in to comment.