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

Method pushprefixes

suds/servicedefinition.py:64–70  ·  view source on GitHub ↗

Add our prefixes to the wsdl so that when users invoke methods and reference the prefixes, the will resolve properly.

(self)

Source from the content-addressed store, hash-verified

62 self.pushprefixes()
63
64 def pushprefixes(self):
65 """
66 Add our prefixes to the wsdl so that when users invoke methods
67 and reference the prefixes, the will resolve properly.
68 """
69 for ns in self.prefixes:
70 self.wsdl.root.addPrefix(ns[0], ns[1])
71
72 def addports(self):
73 """

Callers 1

__init__Method · 0.95

Calls 1

addPrefixMethod · 0.80

Tested by

no test coverage detected