Commit 05ba8ffa authored by René Schwaiger's avatar René Schwaiger Committed by oroulet

Fix spelling of “instantiated”

parent bced9068
...@@ -140,7 +140,7 @@ async def create_reference_type(parent, nodeid, bname, symmetric=True, inversena ...@@ -140,7 +140,7 @@ async def create_reference_type(parent, nodeid, bname, symmetric=True, inversena
async def create_object_type(parent, nodeid, bname): async def create_object_type(parent, nodeid, bname):
""" """
Create a new object type to be instanciated in address space. Create a new object type to be instantiated in address space.
arguments are nodeid, browsename arguments are nodeid, browsename
or namespace index, name or namespace index, name
""" """
...@@ -327,7 +327,7 @@ async def create_data_type(parent, nodeid, bname, description=None): ...@@ -327,7 +327,7 @@ async def create_data_type(parent, nodeid, bname, description=None):
attrs.DisplayName = ua.LocalizedText(qname.Name) attrs.DisplayName = ua.LocalizedText(qname.Name)
attrs.WriteMask = 0 attrs.WriteMask = 0
attrs.UserWriteMask = 0 attrs.UserWriteMask = 0
attrs.IsAbstract = False # True mean they cannot be instanciated attrs.IsAbstract = False # True mean they cannot be instantiated
addnode.NodeAttributes = attrs addnode.NodeAttributes = attrs
results = await parent.server.add_nodes([addnode]) results = await parent.server.add_nodes([addnode])
results[0].StatusCode.check() results[0].StatusCode.check()
...@@ -348,7 +348,7 @@ async def create_data_type(parent, nodeid, bname, description=None): ...@@ -348,7 +348,7 @@ async def create_data_type(parent, nodeid, bname, description=None):
async def create_encoding(parent, nodeid, bname): async def create_encoding(parent, nodeid, bname):
""" """
Create a new encoding object to be instanciated in address space. Create a new encoding object to be instantiated in address space.
arguments are nodeid, browsename arguments are nodeid, browsename
or namespace index, name or namespace index, name
""" """
......
...@@ -667,7 +667,7 @@ class Node: ...@@ -667,7 +667,7 @@ class Node:
""" """
Add a modelling rule reference to Node. Add a modelling rule reference to Node.
When creating a new object type, its variable and child nodes will not When creating a new object type, its variable and child nodes will not
be instanciated if they do not have modelling rule be instantiated if they do not have modelling rule
if mandatory is None, the modelling rule is removed if mandatory is None, the modelling rule is removed
""" """
# remove all existing modelling rule # remove all existing modelling rule
......
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