Commit a6fe064a authored by pinterior's avatar pinterior Committed by oroulet

fix objecttype parameter of add_object

parent abe511d7
......@@ -809,7 +809,7 @@ class Node:
self,
nodeid: Union[ua.NodeId, str, int],
bname: Union[ua.QualifiedName, str],
objecttype: Optional[int] = None,
objecttype: Optional[Union[ua.NodeId, int]] = None,
instantiate_optional: bool = True,
) -> "Node":
return await create_object(self, nodeid, bname, objecttype, instantiate_optional)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment