Resource
This is the output resource of the job.
Attributes
| Attribute | Type | Description |
|---|---|---|
| phase | TaskExecution.Phase | The phase of the job. |
| message | Optional[str] = None | The return message from the job. |
| log_links | Optional[List[TaskLog]] = None | The log links of the job. For example, the link to the BigQuery Console. |
| outputs | Optional[Dict[str, Any]] = None | The outputs of the job. If return python native types, the agent will convert them to flyte literals. |
| custom_info | Optional[typing.Dict[str, Any]] = None | The custom info of the job. For example, the job config. |
Constructor
Signature
def Resource(
phase: TaskExecution.Phase,
message: Optional[str] = None,
log_links: Optional[List[TaskLog]] = None,
outputs: Optional[Dict[str, Any]] = None,
custom_info: Optional[typing.Dict[str, Any]] = None
) -> None
Parameters
| Name | Type | Description |
|---|---|---|
| phase | TaskExecution.Phase | The phase of the job. |
| message | Optional[str] = None | The return message from the job. |
| log_links | Optional[List[TaskLog]] = None | The log links of the job. For example, the link to the BigQuery Console. |
| outputs | Optional[Dict[str, Any]] = None | The outputs of the job. If return python native types, the agent will convert them to flyte literals. |
| custom_info | Optional[typing.Dict[str, Any]] = None | The custom info of the job. For example, the job config. |