-
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
fix(sdk): fix nested placeholders and block illegal IfPresent form in Concat #8414
fix(sdk): fix nested placeholders and block illegal IfPresent form in Concat #8414
Conversation
Skipping CI for Draft Pull Request. |
43b6b42
to
f2f1a7d
Compare
/test all |
Note that the |
/assign @chensun |
/retest kubeflow-pipelines-sdk-python39 |
@connor-mccarthy: The
The following commands are available to trigger optional jobs:
Use
In response to this:
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. |
/retest |
What is the plan for these two incompatible components? Are they going to be updated when GCPC migrate to support kfp 2.*? |
Yes. It will be impossible to author these incompatible components via KFP 2.*, so GCPC authors will be pushed in the correct direction.
Will follow up with this change. |
5347924
to
6f27c98
Compare
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.
/lgtm
/approve
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 |
Using if placeholder inside concat might look weird, but the lest-surprise way of handling it seems to be pretty simple - concatenate the then/else list items with the rest of the concat items. |
@Ark-kun, this is the approach we've taken, with one restriction: |
… Concat (kubeflow#8414) * support single element IfPresentPlaceholders that contain a primitive placeholder * block list then and else_ inside concat * support single element IfPresent in v1 * clean up typing * skip loading batch_predict_job yaml
Description of your changes:
This PR:
then
orelse_
arguments toIfPresentPlaceholder
frombeing lists if the
IfPresentPlaceholder
is within aConcatPlaceholder
.then
andelse_
when either is a string element (instead ofa list of elements)
Checklist:
about the pull request title convention used in this repository.