Marks an existing execution as using cached outputs from a previous execution.
tfx.orchestration.portable.execution_publish_utils.publish_cached_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 OUTPUT.
|