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

Class Endpoint

suds/properties.py:109–131  ·  view source on GitHub ↗

Link endpoint (wrapper). @ivar link: The associated link. @type link: L{Link} @ivar target: The properties object. @type target: L{Property}

Source from the content-addressed store, hash-verified

107
108
109class Endpoint(object):
110 """
111 Link endpoint (wrapper).
112 @ivar link: The associated link.
113 @type link: L{Link}
114 @ivar target: The properties object.
115 @type target: L{Property}
116 """
117 def __init__(self, link, target):
118 self.link = link
119 self.target = target
120
121 def teardown(self):
122 return self.link.teardown()
123
124 def __eq__(self, rhs):
125 return self.target == rhs
126
127 def __hash__(self):
128 return hash(self.target)
129
130 def __getattr__(self, name):
131 return getattr(self.target, name)
132
133
134class Definition:

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected