flytekit.core.promise.NodeOutput#

class flytekit.core.promise.NodeOutput(node, var)[source]#
Parameters
  • node (Node) –

  • var (str) – The name of the variable this NodeOutput references

Methods

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

Attributes

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