MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / get_methods

Method get_methods

opcua/common/node.py:332–337  ·  view source on GitHub ↗

return methods of node. properties are child nodes with a reference of type HasComponent and a NodeClass of Method

(self)

Source from the content-addressed store, hash-verified

330 return self.get_children(refs=ua.ObjectIds.HasComponent, nodeclassmask=ua.NodeClass.Variable)
331
332 def get_methods(self):
333 """
334 return methods of node.
335 properties are child nodes with a reference of type HasComponent and a NodeClass of Method
336 """
337 return self.get_children(refs=ua.ObjectIds.HasComponent, nodeclassmask=ua.NodeClass.Method)
338
339 def get_children_descriptions(self, refs=ua.ObjectIds.HierarchicalReferences, nodeclassmask=ua.NodeClass.Unspecified, includesubtypes=True):
340 return self.get_references(refs, ua.BrowseDirection.Forward, nodeclassmask, includesubtypes)

Callers 2

uacallFunction · 0.80

Calls 1

get_childrenMethod · 0.95