Commit bced9068 authored by René Schwaiger's avatar René Schwaiger Committed by oroulet

Fix incorrect docstrings in node class

parent 34e2e582
...@@ -357,14 +357,14 @@ class Node: ...@@ -357,14 +357,14 @@ class Node:
def get_variables(self): def get_variables(self):
""" """
return variables of node. return variables of node.
properties are child nodes with a reference of type HasComponent and a NodeClass of Variable variables are child nodes with a reference of type HasComponent and a NodeClass of Variable
""" """
return self.get_children(refs=ua.ObjectIds.HasComponent, nodeclassmask=ua.NodeClass.Variable) return self.get_children(refs=ua.ObjectIds.HasComponent, nodeclassmask=ua.NodeClass.Variable)
def get_methods(self): def get_methods(self):
""" """
return methods of node. return methods of node.
properties are child nodes with a reference of type HasComponent and a NodeClass of Method methods are child nodes with a reference of type HasComponent and a NodeClass of Method
""" """
return self.get_children(refs=ua.ObjectIds.HasComponent, nodeclassmask=ua.NodeClass.Method) return self.get_children(refs=ua.ObjectIds.HasComponent, nodeclassmask=ua.NodeClass.Method)
......
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