MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / branch

Method branch

suds/sax/element.py:841–850  ·  view source on GitHub ↗

Get a flattened representation of the branch. @return: A flat list of nodes. @rtype: [L{Element},..]

(self)

Source from the content-addressed store, hash-verified

839 return byname and byns
840
841 def branch(self):
842 """
843 Get a flattened representation of the branch.
844 @return: A flat list of nodes.
845 @rtype: [L{Element},..]
846 """
847 branch = [self]
848 for c in self.children:
849 branch += c.branch()
850 return branch
851
852 def ancestors(self):
853 """

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected