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

Method append

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

Source from the content-addressed store, hash-verified

233 """
234
235 def append(self, parent, content):
236 object = content.value
237 if self.optional(content) and footprint(object) == 0:
238 return
239 child = self.node(content)
240 parent.append(child)
241 for item in object:
242 cont = Content(tag=item[0], value=item[1])
243 Appender.append(self, child, cont)
244
245
246class DictAppender(Appender):

Callers

nothing calls this directly

Calls 5

footprintFunction · 0.90
ContentClass · 0.90
optionalMethod · 0.45
nodeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected