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

Method refitMappings

suds/sax/element.py:1118–1126  ·  view source on GitHub ↗

Refit (normalize) all of the nsprefix mappings.

(self)

Source from the content-addressed store, hash-verified

1116 a.setValue(':'.join((p, name)))
1117
1118 def refitMappings(self):
1119 """
1120 Refit (normalize) all of the nsprefix mappings.
1121 """
1122 for n in self.branch:
1123 n.nsprefixes = {}
1124 n = self.node
1125 for u, p in self.prefixes.items():
1126 n.addPrefix(p, u)
1127
1128 def permit(self, ns):
1129 """

Callers 1

refitMethod · 0.95

Calls 2

addPrefixMethod · 0.80
itemsMethod · 0.45

Tested by

no test coverage detected