kfp.components package

kfp.components.load_component_from_file(file_path: str) → kfp.components.base_component.BaseComponent[source]

Loads component from file.

Parameters:file_path – A string containing path to the YAML file.
kfp.components.load_component_from_text(text: str) → kfp.components.base_component.BaseComponent[source]

Loads component from text.

kfp.components.load_component_from_url(url: str, auth=None) → kfp.components.base_component.BaseComponent[source]

Loads component from url.

Parameters:
  • url – A string containing path to the url containing YAML file.
  • auth – The authentication credentials necessary for url access.