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

Method __dp

suds/client.py:467–477  ·  view source on GitHub ↗

Get the I{default} port if defined in the I{options}. @return: A L{MethodSelector} for the I{default} port. @rtype: L{MethodSelector}.

(self)

Source from the content-addressed store, hash-verified

465 return MethodSelector(self.__client, port.methods, qn)
466
467 def __dp(self):
468 """
469 Get the I{default} port if defined in the I{options}.
470 @return: A L{MethodSelector} for the I{default} port.
471 @rtype: L{MethodSelector}.
472 """
473 dp = self.__client.options.port
474 if dp is None:
475 return None
476 else:
477 return self.__find(dp)
478
479
480class MethodSelector:

Callers 2

__getattr__Method · 0.95
__getitem__Method · 0.95

Calls 1

__findMethod · 0.95

Tested by

no test coverage detected