get_node_info#

NodeTree.get_node_info(node: Node)[source]#

Get the node information for a node.

The nodetree caches the node information for each node. This enables lazy created nodes to access its information fast without additional cost.

Please note that this function returns a valid object for all node objects. Even if the node does not exist on the device.

The cache (dict) lifetime is bound to the nodetree object and each session/nodetree instance must have its own cache.

Parameters:

node (Node) – Node object

Returns:

Node information

New in version 0.6.0.