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

Function remove_elem

tests/tests_standard_address_space.py:18–21  ·  view source on GitHub ↗
(parent, name)

Source from the content-addressed store, hash-verified

16 return parent.find(ns+name)
17
18def remove_elem(parent, name):
19 e = find_elem(parent, name)
20 if e is not None:
21 parent.remove(e)
22
23def try_apply(item, aliases):
24 attrib = item.attrib

Callers 1

read_nodesFunction · 0.85

Calls 1

find_elemFunction · 0.85

Tested by

no test coverage detected