Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tortoise/tortoise-orm
/ MigrationKey
Class
MigrationKey
tortoise/migrations/graph.py:12–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
11
@dataclass(frozen=True, order=True)
12
class
MigrationKey:
13
app_label: str
14
name: str
15
16
def
__str__(self) -> str:
17
return
f
"{self.app_label}.{self.name}"
18
19
20
@total_ordering
Callers
15
applied_migrations
Method · 0.90
load_disk
Method · 0.90
_add_internal_dependencies
Method · 0.90
_add_external_dependencies
Method · 0.90
migrate
Method · 0.90
_resolve_migration_key
Method · 0.90
_migration_plan
Method · 0.90
_forward_plan
Method · 0.90
_backward_plan
Method · 0.90
_dedupe_plan
Method · 0.90
_leaf_nodes
Method · 0.90
fake_applied
Function · 0.90
Calls
no outgoing calls
Tested by
7
fake_applied
Function · 0.72
test_graph_planning_with_keys
Function · 0.72
test_graph_multi_app_dependencies
Function · 0.72
test_loader_builds_graph
Function · 0.72
test_executor_plan_forward_and_backward
Function · 0.72
test_executor_blocks_backward_when_forward_only
Function · 0.72
test_recorder_reads_and_writes
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…