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 - Improved serialization and deserialization of arguments and defaults #1934

Conversation

Ark-kun
Copy link
Contributor

@Ark-kun Ark-kun commented Aug 22, 2019

This PR improves serialization and deserialization of arguments and defaults

The PR is mostly a refactoring.

It's prerequisite for fixing #1488 and #1901

Properly serialize default values and passed arguments using the same code.
Check the types of passed argument values and issue warnings.
Improved argument reference type compatibility checking. When types do not match there is always either error or warning.
When creating component from python function, the input types are now canonicalized.


This change is Reviewable

…ments and defaults

Properly serialize default values and passed arguments using the same code.
Check the types of passed argument values and issue warnings.
Improved argument reference type compatibility checking. When types do not match there is always either error or warning.
When creating component from python function, the input types are now canonicalized.
@Ark-kun Ark-kun force-pushed the SDK---Components---Improved-serialization-and-deserialization-of-arguments-and-defaults branch from 347e4fb to 5857568 Compare August 23, 2019 22:43
@Ark-kun Ark-kun force-pushed the SDK---Components---Improved-serialization-and-deserialization-of-arguments-and-defaults branch from 0376ca3 to f20ed59 Compare August 24, 2019 00:44
@ajchili
Copy link
Member

ajchili commented Aug 24, 2019

/lgtm

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Aug 24, 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 17e18a1 into kubeflow:master Aug 24, 2019
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
* Update CE Handling

Signed-off-by: Mark Winter <mark.winter@navercorp.com>

* Update avro test case

Signed-off-by: Mark Winter <mark.winter@navercorp.com>

* Fix return type

Signed-off-by: Mark Winter <mark.winter@navercorp.com>

* Return cloudevent data for non-json events

Signed-off-by: Mark Winter <mark.winter@navercorp.com>

* Remove type

Signed-off-by: Mark Winter <mark.winter@navercorp.com>
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