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

Method refitAddr

suds/sax/element.py:1091–1101  ·  view source on GitHub ↗

Refit (normalize) the attribute. @param a: An attribute. @type a: L{Attribute}

(self, a)

Source from the content-addressed store, hash-verified

1089 self.refitAddr(a)
1090
1091 def refitAddr(self, a):
1092 """
1093 Refit (normalize) the attribute.
1094 @param a: An attribute.
1095 @type a: L{Attribute}
1096 """
1097 if a.prefix is not None:
1098 ns = a.namespace()
1099 if self.permit(ns):
1100 a.prefix = self.prefixes[ns[1]]
1101 self.refitValue(a)
1102
1103 def refitValue(self, a):
1104 """

Callers 1

refitAttrsMethod · 0.95

Calls 3

permitMethod · 0.95
refitValueMethod · 0.95
namespaceMethod · 0.45

Tested by

no test coverage detected