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

Method operation

suds/wsdl.py:755–767  ·  view source on GitHub ↗

Shortcut used to get a contained operation by name. @param name: An operation name. @type name: str @return: The named operation. @rtype: Operation @raise L{MethodNotFound}: When not found.

(self, name)

Source from the content-addressed store, hash-verified

753 raise Exception("fault '%s' not defined in portType '%s'" % (fault.name, self.type.name))
754
755 def operation(self, name):
756 """
757 Shortcut used to get a contained operation by name.
758 @param name: An operation name.
759 @type name: str
760 @return: The named operation.
761 @rtype: Operation
762 @raise L{MethodNotFound}: When not found.
763 """
764 try:
765 return self.operations[name]
766 except:
767 raise MethodNotFound(name)
768
769 def __gt__(self, other):
770 return not isinstance(other, Service)

Callers 15

highlightMatchesFunction · 0.45
doSearchFunction · 0.45
findNextFunction · 0.45
clearSearchFunction · 0.45
replaceFunction · 0.45
clearFunction · 0.45
doMatchBracketsFunction · 0.45
formatting.jsFile · 0.45
VimFunction · 0.45
updateSearchQueryFunction · 0.45
findNextFunction · 0.45
clearSearchHighlightFunction · 0.45

Calls 1

MethodNotFoundClass · 0.90

Tested by

no test coverage detected