tfx.dsl.resolvers.base_resolver.BaseResolver

Base class for resolver.

Resolver is the logical unit that will be used optionally for input selection. A resolver subclass must override the resolve() function which takes a read-only MLMD handler and a dict of as parameters and produces a ResolveResult instance.

Methods

resolve

View source

Resolves artifacts from channels by querying MLMD.

Args
pipeline_info PipelineInfo of the current pipeline. We do not want to query artifacts across pipeline boundary.
metadata_handler a read-only handler to query MLMD.
source_channels a key -> channel dict which contains the info of the source channels.

Returns
a ResolveResult instance.