0.26.0

SandboxRun

Package: flyteplugins.union.remote

One run of a sandbox: its first, or one a resume started.

Parameters

class SandboxRun(
    run: str,
    generation: int,
    phase: str,
    started_at: Optional[datetime] = None,
    ended_at: Optional[datetime] = None,
    kept: str = '',
)
Parameter Type Description
run str
generation int
phase str
started_at Optional[datetime]
ended_at Optional[datetime]
kept str

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.