MCPcopy
hub / github.com/django/django / add_child

Method add_child

django/db/migrations/graph.py:39–40  ·  view source on GitHub ↗
(self, child)

Source from the content-addressed store, hash-verified

37 return "<%s: (%r, %r)>" % (self.__class__.__name__, self.key[0], self.key[1])
38
39 def add_child(self, child):
40 self.children.add(child)
41
42 def add_parent(self, parent):
43 self.parents.add(parent)

Callers 3

add_dependencyMethod · 0.80
remove_replaced_nodesMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected