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

Method set

suds/properties.py:271–284  ·  view source on GitHub ↗

Set the I{value} of a property by I{name}. The value is validated against the definition and set to the default when I{value} is None. @param name: The property name. @type name: str @param value: The new property value. @type value: any

(self, name, value)

Source from the content-addressed store, hash-verified

269 self.provider(name).__notset(name)
270
271 def set(self, name, value):
272 """
273 Set the I{value} of a property by I{name}.
274 The value is validated against the definition and set
275 to the default when I{value} is None.
276 @param name: The property name.
277 @type name: str
278 @param value: The new property value.
279 @type value: any
280 @return: self
281 @rtype: L{Properties}
282 """
283 self.provider(name).__set(name, value)
284 return self
285
286 def unset(self, name):
287 """

Callers 2

updateMethod · 0.95
__setattr__Method · 0.45

Calls 2

providerMethod · 0.95
__setMethod · 0.80

Tested by

no test coverage detected