Skip to main content

ResourceWrapper

No overview available.

Attributes

AttributeTypeDescription
PhaseflyteIdl.TaskExecution_PhaseRepresents the current phase of the task execution, indicating its state in the workflow.
Outputs*task.OutputsStores the outputs generated by the task execution, which can be consumed by subsequent tasks.
MessagestringProvides a human-readable message related to the task execution's status or any encountered issues.
LogLinks[]*flyteIdl.TaskLogContains a list of links to the logs generated during the task execution, useful for debugging and monitoring.
CustomInfo*structpb.StructHolds arbitrary custom information in a structured format, allowing for flexible extension of task execution details.
ConnectorIDstringIdentifies the connector used for this task, linking it to a specific external service or integration.
IsConnectorAppboolIndicates whether the task is part of a connector application, influencing how it interacts with external systems.
ConnectorEndpointstringSpecifies the endpoint URL for the connector, used to establish communication with the external service.

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.