Fix return type of MigrationRecorder.applied_migrations() (#793)

Matches return type of MigrationLoader.applied_migrations, which reads from here.
This commit is contained in:
Jacob Walls
2022-02-10 10:29:14 -05:00
committed by GitHub
parent 3eab36a5c4
commit bf84546b9e

View File

@@ -1,4 +1,4 @@
from typing import Any, Optional, Set, Tuple
from typing import Any, Dict, Optional, Set, Tuple
from django.db import models
from django.db.backends.base.base import BaseDatabaseWrapper
@@ -15,7 +15,7 @@ class MigrationRecorder:
def migration_qs(self) -> QuerySet: ...
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], Migration]: ...
def record_applied(self, app: str, name: str) -> None: ...
def record_unapplied(self, app: str, name: str) -> None: ...
def flush(self) -> None: ...