|View source on GitHub|
Publish execution to metadata.
_metadata_handler: An instance of Metadata.
Initialize self. See help(type(self)) for accurate signature.
publish_execution( execution_id, input_dict, output_dict, use_cached_results )
Publishes a component execution to metadata.
This function will do two things: 1. update the execution that was previously registered before execution to complete or skipped state, depending on whether cached results are used. 2. for each input and output artifact, publish an event that associate the artifact to the execution, with type INPUT or OUTPUT respectively
execution_id: the execution id for the
input_dict: key -> Artifacts that are used as inputs in the execution
output_dict: key -> Artifacts that are declared as outputs for the execution
use_cached_results: whether or not the execution has used cached results
A dict containing output artifacts.