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

Method append

suds/mx/appender.py:220–227  ·  view source on GitHub ↗
(self, parent, content)

Source from the content-addressed store, hash-verified

218 """
219
220 def append(self, parent, content):
221 p = content.value
222 child = self.node(content)
223 child.setText(p.get())
224 parent.append(child)
225 for item in p.items():
226 cont = Content(tag=item[0], value=item[1])
227 Appender.append(self, child, cont)
228
229
230class ObjectAppender(Appender):

Callers

nothing calls this directly

Calls 6

ContentClass · 0.90
setTextMethod · 0.80
nodeMethod · 0.45
getMethod · 0.45
appendMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected