flytekit.core.promise.NodeOutput¶
- class flytekit.core.promise.NodeOutput(node, var, attr_path=None)[source]¶
Methods
- classmethod from_flyte_idl(pb2_object)¶
- Parameters:
pb2_object (flyteidl.core.types.OutputReference)
- Return type:
OutputReference
- short_string()¶
- Return type:
Text
- to_flyte_idl()¶
- Return type:
flyteidl.core.types.OutputReference
- verbose_string()¶
- Return type:
Text
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