Questions about TFX? Join us at Google I/O!


Gets the artifact path from the event.

This is useful for reconstructing the artifact dict (mapping from key to an ordered list of artifacts) for an execution. The key and index of an artifact are expected to be stored in the event in two steps where the first step is the key and second is the index of the artifact within the list.

event The event from which to extract path to the artifact.

A tuple (, ).

ValueError If there are not exactly 2 steps in the path corresponding to the key and index of the artifact.