opto.trace.nodes.Node.getattr

Contents

opto.trace.nodes.Node.getattr#

Node.getattr(key)[source]#

Get the attribute of the node with the specified key.

Parameters:

key – The key of the attribute to get.

Returns:

A node containing the requested attribute.

Return type:

Node