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

Method __ds

suds/client.py:364–374  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

362 return PortSelector(self.__client, service.ports, name)
363
364 def __ds(self):
365 """
366 Get the I{default} service if defined in the I{options}.
367 @return: A L{PortSelector} for the I{default} service.
368 @rtype: L{PortSelector}.
369 """
370 ds = self.__client.options.service
371 if ds is None:
372 return None
373 else:
374 return self.__find(ds)
375
376
377class PortSelector:

Callers 2

__getattr__Method · 0.95
__getitem__Method · 0.95

Calls 1

__findMethod · 0.95

Tested by

no test coverage detected