MCPcopy Create free account
hub / github.com/andreikop/python-ws-discovery / getScopes

Function getScopes

wsdiscovery/util.py:149–152  ·  view source on GitHub ↗
(scopeNode)

Source from the content-addressed store, hash-verified

147
148
149def getScopes(scopeNode):
150 matchBy = scopeNode.getAttribute("MatchBy")
151 return [Scope(item, matchBy) \
152 for item in _parseSpaceSeparatedList(scopeNode)]
153
154
155def matchScope(src, target, matchBy):

Callers 4

parseProbeMatchMessageFunction · 0.85
parseHelloMessageFunction · 0.85
parseProbeMessageFunction · 0.85
parseResolveMatchMessageFunction · 0.85

Calls 2

ScopeClass · 0.85
_parseSpaceSeparatedListFunction · 0.85

Tested by

no test coverage detected