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


Find a launcher and component config to launch the component.

The default lookup logic goes through the supported_launcher_classes in sequence for each config from the default_component_configs. User can override a single component setting by component_config_overrides. The method returns the first component config and launcher which together can launch the executor_spec of the component. Subclass may customize the logic by overriding the method.

p_config the pipeline config.
component the component to launch.

The found tuple of component launcher class and the compatible component config.

RuntimeError if no supported launcher is found.