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

Method __init__

suds/properties.py:214–231  ·  view source on GitHub ↗

@param domain: The property domain name. @type domain: str @param definitions: A table of property definitions. @type definitions: {name: L{Definition}} @param kwargs: A list of property name/values to set. @type kwargs: dict

(self, domain, definitions, kwargs)

Source from the content-addressed store, hash-verified

212 @type defined: dict
213 """
214 def __init__(self, domain, definitions, kwargs):
215 """
216 @param domain: The property domain name.
217 @type domain: str
218 @param definitions: A table of property definitions.
219 @type definitions: {name: L{Definition}}
220 @param kwargs: A list of property name/values to set.
221 @type kwargs: dict
222 """
223 self.definitions = {}
224 for d in definitions:
225 self.definitions[d.name] = d
226 self.domain = domain
227 self.links = []
228 self.defined = {}
229 self.modified = set()
230 self.prime()
231 self.update(kwargs)
232
233 def definition(self, name):
234 """

Callers

nothing calls this directly

Calls 3

primeMethod · 0.95
updateMethod · 0.95
setFunction · 0.50

Tested by

no test coverage detected