Skip to content

Commit

Permalink
5.0: Update django.db.migrations.serializer (#2109)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeHyuckSa authored May 2, 2024
1 parent c42a202 commit 031a5e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions django-stubs/db/migrations/serializer.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class BaseSerializer:
def serialize(self) -> tuple[str, set[str]]: ...

class BaseSequenceSerializer(BaseSerializer): ...
class BaseUnorderedSequenceSerializer(BaseSequenceSerializer): ...
class BaseSimpleSerializer(BaseSerializer): ...
class DateTimeSerializer(BaseSerializer): ...
class DatetimeDatetimeSerializer(BaseSerializer): ...
Expand All @@ -21,7 +22,7 @@ class DeconstructableSerializer(BaseSerializer):
class DictionarySerializer(BaseSerializer): ...
class EnumSerializer(BaseSerializer): ...
class FloatSerializer(BaseSimpleSerializer): ...
class FrozensetSerializer(BaseSequenceSerializer): ...
class FrozensetSerializer(BaseUnorderedSequenceSerializer): ...
class FunctionTypeSerializer(BaseSerializer): ...
class FunctoolsPartialSerializer(BaseSerializer): ...
class IterableSerializer(BaseSerializer): ...
Expand All @@ -32,7 +33,7 @@ class PathLikeSerializer(BaseSerializer): ...
class PathSerializer(BaseSerializer): ...
class RegexSerializer(BaseSerializer): ...
class SequenceSerializer(BaseSequenceSerializer): ...
class SetSerializer(BaseSequenceSerializer): ...
class SetSerializer(BaseUnorderedSequenceSerializer): ...
class SettingsReferenceSerializer(BaseSerializer): ...
class TupleSerializer(BaseSequenceSerializer): ...
class TypeSerializer(BaseSerializer): ...
Expand Down
1 change: 0 additions & 1 deletion scripts/stubtest/allowlist_todo_django50.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ django.db.backends.sqlite3.features.DatabaseFeatures.supports_stored_generated_c
django.db.backends.sqlite3.features.DatabaseFeatures.supports_virtual_generated_columns
django.db.backends.sqlite3.schema.DatabaseSchemaEditor.sql_alter_column_comment
django.db.backends.sqlite3.schema.DatabaseSchemaEditor.sql_alter_table_comment
django.db.migrations.serializer.BaseUnorderedSequenceSerializer
django.db.models.Case.allowed_default
django.db.models.ExpressionWrapper.allowed_default
django.db.models.F.allowed_default
Expand Down

0 comments on commit 031a5e4

Please sign in to comment.