-
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
SDK - Lightweight - Added support for "None" default values #1626
The head ref may contain hidden characters: "SDK---Lightweight---Added-support-for-\"None\"-default-values-2"
SDK - Lightweight - Added support for "None" default values #1626
Conversation
Previously it was impossible to pass None to components since it was being converted to the string "None".
24a016b
to
68a2767
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ark-kun 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 |
Make the pipeline more dynamic by removing the static values in code. There is a special case when passing default values: The pipeline's compiler doesn't seem to handle `None` values correctly. Thus, in case of a list, we're passing `list()` instead of `None` as the default value. Despite the claims of the following PR, `None` values don't seem to work: kubeflow/pipelines#1626 Signed-off-by: Dimitris Poulopoulos <dimitris.a.poulopoulos@gmail.com>
Make the pipeline more dynamic by removing the static values in code. There is a special case when passing default values: The pipeline's compiler doesn't seem to handle `None` values correctly. Thus, in case of a list, we're passing `list()` instead of `None` as the default value. Despite the claims of the following PR, `None` values don't seem to work: kubeflow/pipelines#1626 Signed-off-by: Dimitris Poulopoulos <dimitris.a.poulopoulos@gmail.com>
Previously it was impossible to pass None to components since it was being converted to the string "None".
Fixes #1485
This change is