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

Fix sample test failure because of the type information in the pipelineparam #972

Merged
merged 3 commits into from
Mar 15, 2019
Merged

Fix sample test failure because of the type information in the pipelineparam #972

merged 3 commits into from
Mar 15, 2019

Conversation

gaoning777
Copy link
Contributor

@gaoning777 gaoning777 commented Mar 15, 2019

op_to_template resolve the raw arguments by mapping to the argument_inputs but the argument_inputs lost the type information.

Add back the type information when argument_input pipeline_param is created.
Also, adjust the TypeMeta.from_dict_or_str to convert a json string back to TypeMeta


This change is Reviewable

…rgument_inputs but the argument_inputs lost the type information
@gaoning777
Copy link
Contributor Author

/test kubeflow-pipeline-e2e-test

sdk/python/kfp/compiler/compiler.py Show resolved Hide resolved
sdk/python/kfp/dsl/_metadata.py Show resolved Hide resolved
sdk/python/kfp/dsl/_metadata.py Show resolved Hide resolved
sdk/python/kfp/dsl/_metadata.py Show resolved Hide resolved
sdk/python/tests/dsl/pipeline_param_tests.py Show resolved Hide resolved
sdk/python/kfp/dsl/_pipeline_param.py Show resolved Hide resolved
@hongye-sun
Copy link
Contributor

/lgtm

None of the comments has to be fixed in the PR. Please feel free to merge the PR and fix the comments in future PRs.

@gaoning777
Copy link
Contributor Author

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gaoning777

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

@gaoning777
Copy link
Contributor Author

Will address the PR comments in #975

@gaoning777 gaoning777 merged commit 754db1f into kubeflow:master Mar 15, 2019
@gaoning777 gaoning777 deleted the fix-sample-test branch March 15, 2019 20:49
cheyang pushed a commit to alibaba/pipelines that referenced this pull request Mar 28, 2019
…neparam (kubeflow#972)

* fix bug: op_to_template resolve the raw arguments by mapping to the argument_inputs but the argument_inputs lost the type information

* fix type pattern matching

* convert orderedDict to dict from the component module
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.

3 participants