mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 14:31:56 +08:00
12 lines
370 B
Python
12 lines
370 B
Python
from typing import Any, Dict, Iterator, List, Optional, Set
|
|
|
|
from django.db.migrations.operations.base import Operation
|
|
|
|
|
|
def topological_sort_as_sets(
|
|
dependency_graph: Dict[Operation, Set[Operation]]
|
|
) -> Iterator[Set[Operation]]: ...
|
|
def stable_topological_sort(
|
|
l: List[Operation], dependency_graph: Dict[Operation, Set[Operation]]
|
|
) -> List[Operation]: ...
|