MCPcopy
hub / github.com/tortoise/tortoise-orm / validate_consistency

Method validate_consistency

tortoise/migrations/graph.py:108–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self.validate_consistency()
107
108 def validate_consistency(self) -> None:
109 for node in self.node_map.values():
110 if isinstance(node, DummyNode):
111 node.raise_error()
112
113 def root_nodes(self, app_label: str | None = None) -> list[MigrationKey]:
114 nodes = [

Callers 2

add_dependencyMethod · 0.95
build_graphMethod · 0.80

Calls 2

raise_errorMethod · 0.80
valuesMethod · 0.45

Tested by

no test coverage detected