Skip to content

Commit

Permalink
Add definition for "AutoFieldMixin.deconstruct"
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhelba committed Sep 7, 2023
1 parent 37240df commit 68aef5d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions django-stubs/db/models/fields/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ class DurationField(Field[_ST, _GT]):

class AutoFieldMixin:
db_returning: bool
def deconstruct(self) -> tuple[str, str, Sequence[Any], dict[str, Any]]: ...

class AutoFieldMeta(type): ...

Expand Down
1 change: 0 additions & 1 deletion scripts/stubtest/allowlist_todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,6 @@ django.db.models.fields.AutoField.rel_db_type
django.db.models.fields.AutoFieldMixin.__init__
django.db.models.fields.AutoFieldMixin.check
django.db.models.fields.AutoFieldMixin.contribute_to_class
django.db.models.fields.AutoFieldMixin.deconstruct
django.db.models.fields.AutoFieldMixin.formfield
django.db.models.fields.AutoFieldMixin.get_db_prep_value
django.db.models.fields.AutoFieldMixin.validate
Expand Down

0 comments on commit 68aef5d

Please sign in to comment.