ResourceWrapper
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| Phase | flyteIdl.TaskExecution_Phase | Represents the current phase of the task execution, indicating its state in the workflow. |
| Outputs | *task.Outputs | Stores the outputs generated by the task execution, which can be consumed by subsequent tasks. |
| Message | string | Provides a human-readable message related to the task execution's status or any encountered issues. |
| LogLinks | []*flyteIdl.TaskLog | Contains a list of links to the logs generated during the task execution, useful for debugging and monitoring. |
| CustomInfo | *structpb.Struct | Holds arbitrary custom information in a structured format, allowing for flexible extension of task execution details. |
| ConnectorID | string | Identifies the connector used for this task, linking it to a specific external service or integration. |
| IsConnectorApp | bool | Indicates whether the task is part of a connector application, influencing how it interacts with external systems. |
| ConnectorEndpoint | string | Specifies 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
| Type | Description |
|---|---|
bool | True if the resource's phase indicates a terminal state, False otherwise. |