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

Method __init__

suds/properties.py:49–61  ·  view source on GitHub ↗

@param a: Property (A) to link. @type a: L{Property} @param b: Property (B) to link. @type b: L{Property}

(self, a, b)

Source from the content-addressed store, hash-verified

47 @type endpoints: tuple(2)
48 """
49 def __init__(self, a, b):
50 """
51 @param a: Property (A) to link.
52 @type a: L{Property}
53 @param b: Property (B) to link.
54 @type b: L{Property}
55 """
56 pA = Endpoint(self, a)
57 pB = Endpoint(self, b)
58 self.endpoints = (pA, pB)
59 self.validate(a, b)
60 a.links.append(pB)
61 b.links.append(pA)
62
63 def validate(self, pA, pB):
64 """

Callers

nothing calls this directly

Calls 3

validateMethod · 0.95
EndpointClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected