diff --git a/components/gcp/container/component_sdk/python/kfp_component/google/dataflow/_client.py b/components/gcp/container/component_sdk/python/kfp_component/google/dataflow/_client.py index 8d5783afb56..c5e4828ee36 100644 --- a/components/gcp/container/component_sdk/python/kfp_component/google/dataflow/_client.py +++ b/components/gcp/container/component_sdk/python/kfp_component/google/dataflow/_client.py @@ -21,7 +21,7 @@ def __init__(self): def launch_template(self, project_id, gcs_path, location, validate_only, launch_parameters): - return self._df.projects().templates().launch( + return self._df.projects().locations().templates().launch( projectId = project_id, gcsPath = gcs_path, location = location,