2.0.0b35

ActionOutputs

Package: flyte.remote

A class representing the outputs of an action. It is used to manage the outputs of a task and its state on the remote Union API.

class ActionOutputs(
    pb2: common_pb2.Outputs,
    data: Tuple[Any, ...],
)
Parameter Type Description
pb2 common_pb2.Outputs
data Tuple[Any, ...]

Methods

Method Description
to_dict() Convert the object to a JSON-serializable dictionary.
to_json() Convert the object to a JSON string.

to_dict()

def to_dict()

Convert the object to a JSON-serializable dictionary.

Returns: dict: A dictionary representation of the object.

to_json()

def to_json()

Convert the object to a JSON string.

Returns: str: A JSON string representation of the object.