tfx.orchestration.portable.execution_publish_utils.publish_internal_execution

Marks an exeisting execution as as success and links its output to an INTERNAL_OUTPUT event.

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.