Skip to main content

ResourceWrapper

No overview available.

Attributes

AttributeTypeDescription
PhaseflyteIdl.TaskExecution_PhaseThe current phase of the task execution, indicating its status.
Outputs*task.OutputsThe outputs generated by the task execution, if any.
MessagestringA human-readable message providing additional information about the task execution status.
LogLinks[]*flyteIdl.TaskLogA list of links to logs associated with the task execution.
CustomInfo*structpb.StructCustom information provided by the task, stored as a structured protobuf object.
ConnectorIDstringThe identifier of the connector used for this task, if it's a connector-based task.
IsConnectorAppboolA boolean indicating whether this task execution is part of a connector application.
ConnectorEndpointstringThe endpoint URL for the connector associated with this task execution.

Methods


IsTerminal()

@classmethod
def IsTerminal() - > bool

Checks if the resource is in a terminal state. Callers use this to determine if further processing or waiting for state changes is necessary.

Returns

TypeDescription
boolTrue if the resource's phase indicates a terminal state, False otherwise.