opto.trace.nodes.MessageNode.data

Contents

opto.trace.nodes.MessageNode.data#

property MessageNode.data#

Retrieve the internal data of a node.

Returns:

The internal data stored in the node.

Return type:

Any

Notes

If within a trace_nodes context and GRAPH.TRACE is True, adds the node to USED_NODES. This function assumes that the “_data” attribute exists within the node object. If this attribute is not present, an AttributeError will be raised.