flytekit.core.promise.NodeOutput#

class flytekit.core.promise.NodeOutput(node, var, attr_path=None)[source]#

Methods

Parameters
  • node (Node) –

  • var (str) –

  • attr_path (Optional[List[Union[str, int]]]) –

deepcopy()[source]#
Return type

flytekit.core.promise.NodeOutput

classmethod from_flyte_idl(pb2_object)#
Parameters

pb2_object (flyteidl.core.types.OutputReference) –

Return type

OutputReference

serialize_to_string()#
Return type

str

short_string()#
Return type

Text

to_flyte_idl()#
Return type

flyteidl.core.types.OutputReference

verbose_string()#
Return type

Text

with_attr(key)[source]#
Return type

flytekit.core.promise.NodeOutput

Attributes

attr_path

The attribute path the promise will be resolved with. :rtype: list[union[str, int]]

is_empty
node

Return Node object.

node_id

Override the underlying node_id property to refer to the Node’s id. This is to make sure that overriding node IDs from with_overrides gets serialized correctly. :rtype: Text

var

Variable name must refer to an output variable for the node. :rtype: Text