tfx.orchestration.portable.execution_publish_utils.publish_cached_execution

Marks an existing execution as using cached outputs from a previous execution.

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 OUTPUT.