diff --git a/sdk/RELEASE.md b/sdk/RELEASE.md index 3018a2e86d9..a89652ed4c8 100644 --- a/sdk/RELEASE.md +++ b/sdk/RELEASE.md @@ -2,6 +2,8 @@ ## Major Features and Improvements +* Add v2 placeholder variables [\#6693](https://github.com/kubeflow/pipelines/pull/6693) + ## Breaking Changes ### For Pipeline Authors diff --git a/sdk/python/kfp/v2/dsl/__init__.py b/sdk/python/kfp/v2/dsl/__init__.py index 6a1bebf7dd7..5dfc3958639 100644 --- a/sdk/python/kfp/v2/dsl/__init__.py +++ b/sdk/python/kfp/v2/dsl/__init__.py @@ -42,3 +42,9 @@ ExitHandler, ParallelFor, ) + +PIPELINE_JOB_NAME_PLACEHOLDER = '{{$.pipeline_job_name}}' +PIPELINE_JOB_RESOURCE_NAME_PLACEHOLDER = '{{$.pipeline_job_resource_name}}' +PIPELINE_JOB_ID_PLACEHOLDER = '{{$.pipeline_job_uuid}}' +PIPELINE_TASK_NAME_PLACEHOLDER = '{{$.pipeline_task_name}}' +PIPELINE_TASK_ID_PLACEHOLDER = '{{$.pipeline_task_uuid}}' \ No newline at end of file