Join the SIG TFX-Addons community and help make TFX even better!


Publish execution to metadata.

_metadata_handler An instance of Metadata.



View source

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

component_info the information of the component
output_artifacts optional key -> Artifacts to be published as outputs of the execution
exec_properties optional execution properties to be published for the execution

A dict containing output artifacts.