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

Method all_parents

code2flow/model.py:609–616  ·  view source on GitHub ↗

Recursively get the entire inheritance tree of this group :rtype: list[Group]

(self)

Source from the content-addressed store, hash-verified

607 self.parent.subgroups = [g for g in self.parent.subgroups if g != self]
608
609 def all_parents(self):
610 """
611 Recursively get the entire inheritance tree of this group
612 :rtype: list[Group]
613 """
614 if self.parent:
615 return [self.parent] + self.parent.all_parents()
616 return []
617
618 def to_dot(self):
619 """

Callers 1

_limit_namespacesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected