Skip to content
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 - Components - component_ref.name should only be set when component was loaded by name #2265

Conversation

Ark-kun
Copy link
Contributor

@Ark-kun Ark-kun commented Sep 29, 2019

Problem: It's hard to distinguish components loaded by name (e.g. using ComponentStore) from components that were never loaded (e.g. just created from python function).
component_ref.name was previously being set, since it was a required parameter.
component_ref.name should only be set if component was loaded by name.


This change is Reviewable

Problem: It's hard to distinguish components loaded by name (e.g. using `ComponentStore`) from components that were never loaded (e.g. just created from python function).
`component_ref.name` was previously being set, since it was a required parameter.
`component_ref.name` should only be set if component was loaded by name.
@Ark-kun Ark-kun changed the title SDK - Components - Stop setting component_ref.name to component name SDK - Components - component_ref.name should only be set when component was loaded by name Sep 30, 2019
@numerology
Copy link

/lgtm

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Sep 30, 2019

/approve

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 2f0f1e4 into kubeflow:master Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants