|View source on GitHub|
Returns a map from key to an ordered list of artifacts for the given execution id.
tfx.orchestration.metadata.Metadata, execution_id: int, event_type: "metadata_store_pb2.Event.Type" ) -> Dict[Text, List[types.Artifact]]
The dict is constructed purely from information stored in MLMD for the
execution given by
execution_id. The "key" is the tag associated with the
OutputSpec in the pipeline IR.
||A handler to access MLMD.|
||Id of the execution for which to get artifacts.|
||Event type to filter by.|
|A dict mapping key to an ordered list of artifacts.|
||If the events are badly formed and correct ordering of artifacts cannot be determined or if all the artifacts could not be fetched from MLMD.|