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

Method append

suds/mx/appender.py:89–102  ·  view source on GitHub ↗

Select an appender and append the content to parent. @param parent: A parent node. @type parent: L{Element} @param content: The content to append. @type content: L{Content}

(self, parent, content)

Source from the content-addressed store, hash-verified

87 )
88
89 def append(self, parent, content):
90 """
91 Select an appender and append the content to parent.
92 @param parent: A parent node.
93 @type parent: L{Element}
94 @param content: The content to append.
95 @type content: L{Content}
96 """
97 appender = self.default
98 for a in self.appenders:
99 if a[0] == content.value:
100 appender = a[1]
101 break
102 appender.append(parent, content)
103
104
105class Appender:

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected