-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(sdk): add v2 placeholder variables #6693
Conversation
sdk/python/kfp/v2/dsl/__init__.py
Outdated
PIPELINE_JOB_RESOURCE_NAME_PLACEHOLDER = '{{$.pipeline_job_resource_name}}' | ||
PIPELINE_JOB_ID_PLACEHOLDER = '{{$.pipeline_job_uuid}}' | ||
# RUN_ID_PLACEHOLDER is deprecated. | ||
RUN_ID_PLACEHOLDER = '{{$.pipeline_job_uuid}}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the plan for RUN_ID_PLACEHOLDER
? If we want to deprecate it in v2, we shouldn't add it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
sdk/RELEASE.md
Outdated
@@ -2,6 +2,8 @@ | |||
|
|||
## Major Features and Improvements | |||
|
|||
* Add placeholder variables [\#6693](https://github.com/kubeflow/pipelines/pull/6693) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: v2 placeholder variables
Same for the PR title.
@ji-yaqi: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/lgtm Thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chensun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kubeflow-pipelines-samples-v2 test is failing due to some known infra issue, and this PR shouldn't affect the that tests. |
|
Hi @judahrand, the usage would be like:
Is this the way you were using this feature? |
Yes, that's what I was doing. The task specific placeholders did not work while the job specific ones did. Do you have any suggestions for alternatives to |
Hi @judahrand, I tried to reproduce this on KFP 1.8.6 and For |
Perhaps this is a Vertex specific issue? |
No description provided.