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

Method __init__

opcua/common/structures.py:83–86  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

81
82class Struct(object):
83 def __init__(self, name):
84 self.name = _clean_name(name)
85 self.fields = []
86 self.typeid = None
87
88 def __str__(self):
89 return "Struct(name={}, fields={}".format(self.name, self.fields)

Callers

nothing calls this directly

Calls 1

_clean_nameFunction · 0.85

Tested by

no test coverage detected