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

Class Encoded

suds/bindings/rpc.py:81–98  ·  view source on GitHub ↗

RPC/Encoded (section 5) binding style.

Source from the content-addressed store, hash-verified

79
80
81class Encoded(RPC):
82 """
83 RPC/Encoded (section 5) binding style.
84 """
85
86 def marshaller(self):
87 return MxEncoded(self.schema())
88
89 def unmarshaller(self, typed=True):
90 """
91 Get the appropriate XML decoder.
92 @return: Either the (basic|typed) unmarshaller.
93 @rtype: L{UmxTyped}
94 """
95 if typed:
96 return UmxEncoded(self.schema())
97 else:
98 return RPC.unmarshaller(self, typed)

Callers 1

add_methodsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected