diff --git a/django-stubs/db/migrations/migration.pyi b/django-stubs/db/migrations/migration.pyi index eda192490..057edd1c6 100644 --- a/django-stubs/db/migrations/migration.pyi +++ b/django-stubs/db/migrations/migration.pyi @@ -1,10 +1,12 @@ +from collections.abc import Sequence + from django.db.backends.base.schema import BaseDatabaseSchemaEditor from django.db.migrations.operations.base import Operation from django.db.migrations.state import ProjectState from typing_extensions import Self class Migration: - operations: list[Operation] + operations: Sequence[Operation] dependencies: list[tuple[str, str]] run_before: list[tuple[str, str]] replaces: list[tuple[str, str]]