Skip to content

Commit

Permalink
fix objecttype parameter of add_object
Browse files Browse the repository at this point in the history
  • Loading branch information
pinterior authored and oroulet committed Nov 13, 2023
1 parent abe511d commit a6fe064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncua/common/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ async def add_object(
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)
Expand Down

0 comments on commit a6fe064

Please sign in to comment.