From ba2a979a07736ce254968fd6548e307e32dd5e94 Mon Sep 17 00:00:00 2001 From: Mathias Millet <95040253+gg-mmill@users.noreply.github.com> Date: Tue, 12 Mar 2024 10:41:12 +0100 Subject: [PATCH] fix `applied_migrations` typing of recorder.pyi --- django-stubs/db/migrations/recorder.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django-stubs/db/migrations/recorder.pyi b/django-stubs/db/migrations/recorder.pyi index df0818ae3..47910e925 100644 --- a/django-stubs/db/migrations/recorder.pyi +++ b/django-stubs/db/migrations/recorder.pyi @@ -15,7 +15,7 @@ class MigrationRecorder: def migration_qs(self) -> QuerySet[Any]: ... def has_table(self) -> bool: ... def ensure_schema(self) -> None: ... - def applied_migrations(self) -> set[tuple[str, str]]: ... + def applied_migrations(self) -> dict[tuple[str, str], Any]: ... def record_applied(self, app: str, name: str) -> None: ... def record_unapplied(self, app: str, name: str) -> None: ... def flush(self) -> None: ...