Marks an exeisting execution as as success and links its output to an INTERNAL_OUTPUT event.
tfx.orchestration.portable.execution_publish_utils.publish_internal_execution(
metadata_handler: tfx.orchestration.metadata.Metadata
,
contexts: Sequence[metadata_store_pb2.Context],
execution_id: int,
output_artifacts: Optional[MutableMapping[str, Sequence[types.Artifact]]] = None
) -> None
Args |
metadata_handler
|
A handler to access MLMD.
|
contexts
|
MLMD contexts to associated with the execution.
|
execution_id
|
The id of the execution.
|
output_artifacts
|
Output artifacts of the execution. Each artifact will be
linked with the execution through an event with type INTERNAL_OUTPUT.
|