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

Method __init__

suds/wsdl.py:293–305  ·  view source on GitHub ↗

@param root: An XML root element. @type root: L{Element} @param definitions: A definitions object. @type definitions: L{Definitions}

(self, root, definitions)

Source from the content-addressed store, hash-verified

291 """
292
293 def __init__(self, root, definitions):
294 """
295 @param root: An XML root element.
296 @type root: L{Element}
297 @param definitions: A definitions object.
298 @type definitions: L{Definitions}
299 """
300 WObject.__init__(self, root, definitions)
301 self.location = root.get('location')
302 self.ns = root.get('namespace')
303 self.imported = None
304 pmd = self.__metadata__.__print__
305 pmd.wrappers['imported'] = repr
306
307 def load(self, definitions):
308 """ Load the object by opening the URL """

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
getMethod · 0.45

Tested by

no test coverage detected