MCPcopy Index your code
hub / github.com/tortoise/tortoise-orm / DummyNode

Class DummyNode

tortoise/migrations/graph.py:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55
56class DummyNode(Node):
57 def __init__(self, key: MigrationKey, origin: MigrationKey, error_message: str):
58 super().__init__(key)
59 self.origin = origin
60 self.error_message = error_message
61
62 def raise_error(self) -> None:
63 raise ValueError(self.error_message)
64
65
66class MigrationGraph:

Callers 1

add_dummy_nodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…