MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / __fault

Method __fault

suds/client.py:795–803  ·  view source on GitHub ↗

simulate the (fault) reply

(self, reply)

Source from the content-addressed store, hash-verified

793 return self.succeeded(binding, reply)
794
795 def __fault(self, reply):
796 """ simulate the (fault) reply """
797 binding = self.method.binding.output
798 if self.options.faults:
799 r, p = binding.get_fault(reply)
800 self.last_received(r)
801 return (500, p)
802 else:
803 return (500, None)

Callers 1

invokeMethod · 0.95

Calls 2

get_faultMethod · 0.80
last_receivedMethod · 0.45

Tested by

no test coverage detected