-
Notifications
You must be signed in to change notification settings - Fork 659
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] Add logger for compiler and marshal while comparing union #6034
[Fix] Add logger for compiler and marshal while comparing union #6034
Conversation
Signed-off-by: mao3267 <chenvincent610@gmail.com>
…yteorg#5489-dataclass-mismatch Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
…t (one level) dataclass Signed-off-by: mao3267 <chenvincent610@gmail.com>
…yteorg#5489-dataclass-mismatch
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: Future-Outlier <eric901201@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: Future-Outlier <eric901201@gmail.com>
….com/mao3267/flyte into fix/flyteorg#5489-dataclass-mismatch
Signed-off-by: mao3267 <chenvincent610@gmail.com>
…yteorg#5489-dataclass-mismatch
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: Future-Outlier <eric901201@gmail.com>
Signed-off-by: Future-Outlier <eric901201@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
…failure Signed-off-by: mao3267 <chenvincent610@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
…yteorg#5489-dataclass-mismatch
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Quick fix for #5858 after merging. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6034 +/- ##
==========================================
- Coverage 37.07% 37.07% -0.01%
==========================================
Files 1316 1316
Lines 132176 132191 +15
==========================================
- Hits 49010 49007 -3
- Misses 78908 78922 +14
- Partials 4258 4262 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
Signed-off-by: Future-Outlier <eric901201@gmail.com>
…eorg#6034) * feat: fix Union type with dataclass ambiguous error Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: direct json comparison for superset Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: go.mod missing entry for error Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: update go module and sum Signed-off-by: mao3267 <chenvincent610@gmail.com> * refactor: gci format Signed-off-by: mao3267 <chenvincent610@gmail.com> * test: add dataset casting tests for same (one/two levels) and superset (one level) dataclass Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: support Pydantic BaseModel comparison Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: handle nested pydantic basemodel Signed-off-by: mao3267 <chenvincent610@gmail.com> * Reviews from Eduardo Signed-off-by: Future-Outlier <eric901201@gmail.com> * fix: support strict subset match Signed-off-by: mao3267 <chenvincent610@gmail.com> * test: update strict subset match test Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: missing go mod entry Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: missing go mod entry Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: go mod entry Signed-off-by: mao3267 <chenvincent610@gmail.com> * make go-tidy Signed-off-by: Future-Outlier <eric901201@gmail.com> * comments Signed-off-by: Future-Outlier <eric901201@gmail.com> * fix: strict subset match with draft 2020-12 mashumaro Signed-off-by: mao3267 <chenvincent610@gmail.com> * refactor: make go-tidy Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: support strict subset match with ambiguity Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: change test name and fix err Signed-off-by: mao3267 <chenvincent610@gmail.com> * Add comments Signed-off-by: Future-Outlier <eric901201@gmail.com> * nit Signed-off-by: Future-Outlier <eric901201@gmail.com> * add flytectl go-tidy in makefile Signed-off-by: Future-Outlier <eric901201@gmail.com> * nit Signed-off-by: Future-Outlier <eric901201@gmail.com> * fix: add comment for error checking Signed-off-by: mao3267 <chenvincent610@gmail.com> * test: basemodel castable test, two level dataclass and ParentToChild failure Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: add logger for jsonschema compiler Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: add logger for marshal and compiler Signed-off-by: mao3267 <chenvincent610@gmail.com> * better error msg format Signed-off-by: Future-Outlier <eric901201@gmail.com> --------- Signed-off-by: mao3267 <chenvincent610@gmail.com> Signed-off-by: Future-Outlier <eric901201@gmail.com> Co-authored-by: Future-Outlier <eric901201@gmail.com> Signed-off-by: SZL741023 <shengzhe.lin@icloud.com>
) * [Fix] Add logger for compiler and marshal while comparing union (#6034) * feat: fix Union type with dataclass ambiguous error Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: direct json comparison for superset Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: go.mod missing entry for error Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: update go module and sum Signed-off-by: mao3267 <chenvincent610@gmail.com> * refactor: gci format Signed-off-by: mao3267 <chenvincent610@gmail.com> * test: add dataset casting tests for same (one/two levels) and superset (one level) dataclass Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: support Pydantic BaseModel comparison Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: handle nested pydantic basemodel Signed-off-by: mao3267 <chenvincent610@gmail.com> * Reviews from Eduardo Signed-off-by: Future-Outlier <eric901201@gmail.com> * fix: support strict subset match Signed-off-by: mao3267 <chenvincent610@gmail.com> * test: update strict subset match test Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: missing go mod entry Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: missing go mod entry Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: go mod entry Signed-off-by: mao3267 <chenvincent610@gmail.com> * make go-tidy Signed-off-by: Future-Outlier <eric901201@gmail.com> * comments Signed-off-by: Future-Outlier <eric901201@gmail.com> * fix: strict subset match with draft 2020-12 mashumaro Signed-off-by: mao3267 <chenvincent610@gmail.com> * refactor: make go-tidy Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: support strict subset match with ambiguity Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: change test name and fix err Signed-off-by: mao3267 <chenvincent610@gmail.com> * Add comments Signed-off-by: Future-Outlier <eric901201@gmail.com> * nit Signed-off-by: Future-Outlier <eric901201@gmail.com> * add flytectl go-tidy in makefile Signed-off-by: Future-Outlier <eric901201@gmail.com> * nit Signed-off-by: Future-Outlier <eric901201@gmail.com> * fix: add comment for error checking Signed-off-by: mao3267 <chenvincent610@gmail.com> * test: basemodel castable test, two level dataclass and ParentToChild failure Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: add logger for jsonschema compiler Signed-off-by: mao3267 <chenvincent610@gmail.com> * fix: add logger for marshal and compiler Signed-off-by: mao3267 <chenvincent610@gmail.com> * better error msg format Signed-off-by: Future-Outlier <eric901201@gmail.com> --------- Signed-off-by: mao3267 <chenvincent610@gmail.com> Signed-off-by: Future-Outlier <eric901201@gmail.com> Co-authored-by: Future-Outlier <eric901201@gmail.com> Signed-off-by: SZL741023 <shengzhe.lin@icloud.com> * [Docs] Add Async agent create job process and exception delete cas. Signed-off-by: SZL741023 <shengzhe.lin@icloud.com> * update Signed-off-by: Future-Outlier <eric901201@gmail.com> * grammar update Signed-off-by: Future-Outlier <eric901201@gmail.com> --------- Signed-off-by: mao3267 <chenvincent610@gmail.com> Signed-off-by: Future-Outlier <eric901201@gmail.com> Signed-off-by: SZL741023 <shengzhe.lin@icloud.com> Co-authored-by: Vincent Chen <62143443+mao3267@users.noreply.github.com> Co-authored-by: Future-Outlier <eric901201@gmail.com>
Tracking issue
Related to #5489
Why are the changes needed?
What changes were proposed in this pull request?
How was this patch tested?
None
Screenshots
None
Check all the applicable boxes
Related PRs
#5858
Docs link
None