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

[Error Message] Dataclasses Mismatched Type #2650

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

Future-Outlier
Copy link
Member

@Future-Outlier Future-Outlier commented Aug 5, 2024

Tracking issue

Why are the changes needed?

The error message is not clear for dataclasses output.

What changes were proposed in this pull request?

print actual output type and expected output type.

How was this patch tested?

local execution, remote execution and unit tests.

Screenshots

Before

image image

After

image image

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
@Future-Outlier Future-Outlier changed the title [Error Message] Show Type Conversion Error [Error Message] dataclasses mismatched type Aug 5, 2024
@Future-Outlier Future-Outlier changed the title [Error Message] dataclasses mismatched type [Error Message] Dataclasses Mismatched Type Aug 5, 2024
@Future-Outlier Future-Outlier merged commit d802c7e into master Aug 6, 2024
97 checks passed
Future-Outlier added a commit that referenced this pull request Aug 6, 2024
* Show different of types in dataclass when transforming error

Signed-off-by: Future-Outlier <[email protected]>

* add tests for dataclass

Signed-off-by: Future-Outlier <[email protected]>

* fix tests

Signed-off-by: Future-Outlier <[email protected]>

---------

Signed-off-by: Future-Outlier <[email protected]>
mao3267 pushed a commit to mao3267/flytekit that referenced this pull request Aug 9, 2024
* Show different of types in dataclass when transforming error

Signed-off-by: Future-Outlier <[email protected]>

* add tests for dataclass

Signed-off-by: Future-Outlier <[email protected]>

* fix tests

Signed-off-by: Future-Outlier <[email protected]>

---------

Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: mao3267 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants