Skip to main content

Resource

This is the output resource of the job.

Attributes​

AttributeTypeDescription
phaseTaskExecution.PhaseThe phase of the job.
messageOptional[str] = NoneThe return message from the job.
log_linksOptional[List[TaskLog]] = NoneThe log links of the job. For example, the link to the BigQuery Console.
outputsOptional[Dict[str, Any]] = NoneThe outputs of the job. If return python native types, the agent will convert them to flyte literals.
custom_infoOptional[typing.Dict[str, Any]] = NoneThe 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​

NameTypeDescription
phaseTaskExecution.PhaseThe phase of the job.
messageOptional[str] = NoneThe return message from the job.
log_linksOptional[List[TaskLog]] = NoneThe log links of the job. For example, the link to the BigQuery Console.
outputsOptional[Dict[str, Any]] = NoneThe outputs of the job. If return python native types, the agent will convert them to flyte literals.
custom_infoOptional[typing.Dict[str, Any]] = NoneThe custom info of the job. For example, the job config.