opto.trace.nodes.Node.call

Contents

opto.trace.nodes.Node.call#

Node.call(fun: str, *args, **kwargs)[source]#

Call the function with the specified arguments and keyword arguments.

Parameters:
  • fun – The function to call.

  • *args – The arguments to pass to the function.

  • **kwargs – The keyword arguments to pass to the function.

Returns:

The result of the function call wrapped in a node.

Return type:

Node