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

Method append_attribute

suds/umx/core.py:126–138  ·  view source on GitHub ↗

Append an attribute name/value into L{Content.data}. @param name: The attribute name @type name: basestring @param value: The attribute's value @type value: basestring @param content: The current content being unmarshalled. @type content: L{Co

(self, name, value, content)

Source from the content-addressed store, hash-verified

124 self.append_attribute(name, value, content)
125
126 def append_attribute(self, name, value, content):
127 """
128 Append an attribute name/value into L{Content.data}.
129 @param name: The attribute name
130 @type name: basestring
131 @param value: The attribute's value
132 @type value: basestring
133 @param content: The current content being unmarshalled.
134 @type content: L{Content}
135 """
136 key = name
137 key = '_%s' % reserved.get(key, key)
138 setattr(content.data, key, value)
139
140 def append_children(self, content):
141 """

Callers 1

append_attributesMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected