NodeRef#
- class tierkreis.core.tierkreis_graph.NodeRef(idx: int, graph: TierkreisGraph, outports: list[str] | None = None)[source]#
Bases:
Iterable
A reference to a node in a Tierkreis graph.
Methods
Output port name to use if none is specified.
If this NodeRef refers to a FunctionNode, set its retry time in seconds.
Attributes
outports
idx
graph
- default_nodeport(create: bool = True) NodePort [source]#
Output port name to use if none is specified.
- Raises:
ValueError – If there are multiple known output ports.
- Returns:
Single output port if exactly one is known, else “value”.