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

Method update

suds/properties.py:247–259  ·  view source on GitHub ↗

Update the property values as specified by keyword/value. @param other: An object to update from. @type other: (dict|L{Properties}) @return: self @rtype: L{Properties}

(self, other)

Source from the content-addressed store, hash-verified

245 return d
246
247 def update(self, other):
248 """
249 Update the property values as specified by keyword/value.
250 @param other: An object to update from.
251 @type other: (dict|L{Properties})
252 @return: self
253 @rtype: L{Properties}
254 """
255 if isinstance(other, Properties):
256 other = other.defined
257 for n, v in other.items():
258 self.set(n, v)
259 return self
260
261 def notset(self, name):
262 """

Callers 1

__init__Method · 0.95

Calls 2

setMethod · 0.95
itemsMethod · 0.45

Tested by

no test coverage detected