Thunk#
- class tierkreis.builder.Thunk(graph_src: NodePort | NodeRef | PortFunc, input_order: list[str], output_order: list[str])[source]#
Bases:
_CallAddNode
,PortFunc
Utility to call a thunk (a graph) as a function. Adds an eval node when called.
Methods
copyable
Return a NodePort, creating nodes as necessary in source graph.
The graph the port belongs to (or will).
Attributes
graph_src
node
input_order
output_order
- source_graph() TierkreisGraph [source]#
The graph the port belongs to (or will).