FunctionNode#

class tierkreis.core.tierkreis_graph.FunctionNode(function_name: FunctionName, retry_secs: int | None = None)[source]#

Bases: TierkreisNode

A function call. Optional retry_secs specifies how long to wait before retrying.

Methods

from_proto

Load from protobuf node.

is_copy_node

Whether this node is a copy function node.

is_discard_node

Whether this node is a discard function node.

is_unpack_node

Whether this node is an unpack struct function node.

to_proto

Convert to node protobuf message.

Attributes

retry_secs

function_name

classmethod from_proto(node: Node) TierkreisNode#

Load from protobuf node.

is_copy_node() bool[source]#

Whether this node is a copy function node.

is_discard_node() bool[source]#

Whether this node is a discard function node.

is_unpack_node() bool[source]#

Whether this node is an unpack struct function node.

to_proto() Node[source]#

Convert to node protobuf message.