MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / remove_from_parent

Method remove_from_parent

code2flow/model.py:351–356  ·  view source on GitHub ↗

Remove this node from it's parent. This effectively deletes the node. :rtype: None

(self)

Source from the content-addressed store, hash-verified

349 return f"{self.token}()"
350
351 def remove_from_parent(self):
352 """
353 Remove this node from it's parent. This effectively deletes the node.
354 :rtype: None
355 """
356 self.first_group().nodes = [n for n in self.first_group().nodes if n != self]
357
358 def get_variables(self, line_number=None):
359 """

Callers 4

map_itFunction · 0.45
_limit_namespacesFunction · 0.45
_limit_functionsFunction · 0.45

Calls 1

first_groupMethod · 0.95

Tested by

no test coverage detected