tfx.extensions.experimental.kfp_compatibility.kfp_container_component.load_kfp_yaml_container_component

Creates a container-based component from a Kubeflow component spec.

See https://www.kubeflow.org/docs/pipelines/reference/component-spec/

Example:

component = load_kfp_yaml_container_component( "kfp_pipelines_root/components/datasets/Chicago_Taxi_Trips/component.yaml" )

path local file path of a Kubeflow Pipelines component YAML file.

Container component that can be instantiated in a TFX pipeline.