MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / get_refs

Function get_refs

tests/tests_standard_address_space.py:47–48  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

45 return dict((e.attrib['NodeId'],e) for e in root)
46
47def get_refs(e):
48 return set((r.attrib['ReferenceType'], r.text, r.attrib.get('IsForward', 'true') == 'true') for r in find_elem(e, 'References'))
49
50class StandardAddressSpaceTests(unittest.TestCase):
51

Callers

nothing calls this directly

Calls 2

find_elemFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected