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

Method permit

suds/sax/element.py:1128–1136  ·  view source on GitHub ↗

Get whether the I{ns} is to be normalized. @param ns: A namespace. @type ns: (p,u) @return: True if to be included. @rtype: boolean

(self, ns)

Source from the content-addressed store, hash-verified

1126 n.addPrefix(p, u)
1127
1128 def permit(self, ns):
1129 """
1130 Get whether the I{ns} is to be normalized.
1131 @param ns: A namespace.
1132 @type ns: (p,u)
1133 @return: True if to be included.
1134 @rtype: boolean
1135 """
1136 return not self.skip(ns)
1137
1138 def skip(self, ns):
1139 """

Callers 5

getNamespacesMethod · 0.95
psetMethod · 0.95
refitNodesMethod · 0.95
refitAddrMethod · 0.95
refitValueMethod · 0.95

Calls 1

skipMethod · 0.95

Tested by

no test coverage detected