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

Method make_model_from_file

opcua/common/structures.py:148–151  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

146 self._make_model(obj)
147
148 def make_model_from_file(self, path):
149 obj = objectify.parse(path)
150 root = obj.getroot()
151 self._make_model(root)
152
153 def _make_model(self, root):
154 enums = {}

Callers 3

test_custom_structsMethod · 0.95

Calls 2

_make_modelMethod · 0.95
parseMethod · 0.45

Tested by 3

test_custom_structsMethod · 0.76