tfx.components.common_nodes.importer_node.generate_output_dict

Generates importer's output dict.

If there is already an artifact in MLMD with the same URI and properties / custom properties, that artifact will be reused unless the reimport argument is set to True.

metadata_handler The handler of MLMD.
uri The uri of the artifact.
properties The properties of the artifact, given as a dictionary from string keys to integer / string values. Must conform to the declared properties of the destination channel's output type.
custom_properties The custom properties of the artifact, given as a dictionary from string keys to integer / string values.
reimport If set to True, will register a new artifact even if it already exists in the database.
output_artifact_class The class of the output artifact.
mlmd_artifact_type The MLMD artifact type of the Artifact to be created.

a dictionary with the only key result whose value is the Artifact.