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

Method import_definitions

suds/wsdl.py:323–330  ·  view source on GitHub ↗

import/merge wsdl definitions

(self, definitions, d)

Source from the content-addressed store, hash-verified

321 raise Exception('document at "%s" is unknown' % url)
322
323 def import_definitions(self, definitions, d):
324 """ import/merge wsdl definitions """
325 definitions.types += d.types
326 definitions.messages.update(d.messages)
327 definitions.port_types.update(d.port_types)
328 definitions.bindings.update(d.bindings)
329 self.imported = d
330 log.debug('imported (WSDL):\n%s', d)
331
332 def import_schema(self, definitions, d):
333 """ import schema as <types/> content """

Callers 1

loadMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected