Skip to content

Commit d681240

Browse files
committed
Revert "Make sure NodeClass attribute is of type UInt32" since NodeClass
shoud be of type Int32 This reverts commit b934a49.
1 parent 6f5ea2b commit d681240

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opcua/server/address_space.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def _add_node_attributes(self, nodedata, item, add_timestamps):
257257
ua.DataValue(ua.Variant(item.BrowseName, ua.VariantType.QualifiedName))
258258
)
259259
nodedata.attributes[ua.AttributeIds.NodeClass] = AttributeValue(
260-
ua.DataValue(ua.Variant(item.NodeClass, ua.VariantType.UInt32))
260+
ua.DataValue(ua.Variant(item.NodeClass, ua.VariantType.Int32))
261261
)
262262
# add requested attrs
263263
self._add_nodeattributes(item.NodeAttributes, nodedata, add_timestamps)

0 commit comments

Comments
 (0)