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

Method mkparam

suds/bindings/document.py:94–106  ·  view source on GitHub ↗
(self, method, pdef, object)

Source from the content-addressed store, hash-verified

92 return d
93
94 def mkparam(self, method, pdef, object):
95 #
96 # Expand list parameters into individual parameters
97 # each with the type information. This is because in document
98 # arrays are simply unbounded elements.
99 #
100 if isinstance(object, (list, tuple)):
101 tags = []
102 for item in object:
103 tags.append(self.mkparam(method, pdef, item))
104 return tags
105 else:
106 return Binding.mkparam(self, method, pdef, object)
107
108 def param_defs(self, method):
109 #

Callers 1

bodycontentMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected