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

Method get_referenced_nodes

opcua/common/node.py:384–395  ·  view source on GitHub ↗

returns referenced nodes based on specific filter Paramters are the same as for get_references

(self, refs=ua.ObjectIds.References, direction=ua.BrowseDirection.Both, nodeclassmask=ua.NodeClass.Unspecified, includesubtypes=True)

Source from the content-addressed store, hash-verified

382 return references
383
384 def get_referenced_nodes(self, refs=ua.ObjectIds.References, direction=ua.BrowseDirection.Both, nodeclassmask=ua.NodeClass.Unspecified, includesubtypes=True):
385 """
386 returns referenced nodes based on specific filter
387 Paramters are the same as for get_references
388
389 """
390 references = self.get_references(refs, direction, nodeclassmask, includesubtypes)
391 nodes = []
392 for desc in references:
393 node = Node(self.server, desc.NodeId)
394 nodes.append(node)
395 return nodes
396
397 def get_type_definition(self):
398 """

Callers 15

get_childrenMethod · 0.95
get_encoding_refsMethod · 0.95
get_description_refsMethod · 0.95
_instantiate_nodeFunction · 0.95
historize_eventMethod · 0.80
get_node_supertypeFunction · 0.80
__init__Method · 0.80
_find_parent_eventtypeFunction · 0.80

Calls 2

get_referencesMethod · 0.95
NodeClass · 0.85