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

Method remove_from_parent

code2flow/model.py:601–607  ·  view source on GitHub ↗

Remove this group from it's parent. This is effectively a deletion :rtype: None

(self)

Source from the content-addressed store, hash-verified

599 return []
600
601 def remove_from_parent(self):
602 """
603 Remove this group from it's parent. This is effectively a deletion
604 :rtype: None
605 """
606 if self.parent:
607 self.parent.subgroups = [g for g in self.parent.subgroups if g != self]
608
609 def all_parents(self):
610 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected