nodify.TupleNode

class nodify.TupleNode(*items)[source]
__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

evaluate_input_node(node)

from_func([func, context, module])

Builds a node from a function.

function(*items)

get()

Returns the output of the node, possibly running the computation.

get_diagram_label()

Returns the label to be used in diagrams when displaying this node.

get_input(key)

get_syntax(*items)

get_tree()

is_output_outdated(evaluated_inputs)

Checks if the node needs to be ran

map_inputs(inputs, func[, only_nodes, exclude])

Maps all inputs of the node applying a given function.

recursive_update_inputs([cls])

Updates the inputs of the node recursively.

setup(*args, **kwargs)

Sets up the node based on its initial inputs.

update_inputs(**inputs)

Updates the inputs of the node.

Attributes

DELETE_KWARG

context

default_inputs

inputs

last_log

Last time the logs of this node were updated

logs