-
Notifications
You must be signed in to change notification settings - Fork 297
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
Pydantic Transformer V2 #2792
Merged
Merged
Pydantic Transformer V2 #2792
Changes from 97 commits
Commits
Show all changes
110 commits
Select commit
Hold shift + click to select a range
333a05c
Pydantic Transformer V2
Future-Outlier 9251508
add __init__.py
Future-Outlier 4c46dee
add json schema
Future-Outlier 63ab9fd
convert float to int
Future-Outlier 357ca00
change gitsha in test script mode
Future-Outlier cdd1b25
change gitsha
Future-Outlier c89b59a
use strict map=false
Future-Outlier 6b480da
Test flytefile console input + attr access
Future-Outlier 15ce9ad
add conditional branch
Future-Outlier 94ce092
better rx
Future-Outlier d97bc2a
Add flytedir generic -> flytedir
Future-Outlier 4b0f008
merge async type engine
Future-Outlier afd4344
support enum
Future-Outlier 773a3b6
update
Future-Outlier 7afbb00
add tests for input from flyte console
Future-Outlier 0258853
Add Tests for dataclass in BaseModel and pydantic.dataclass in BaseModel
Future-Outlier f0fa0b9
update
Future-Outlier f4e7581
Merge branch 'master' into pydantic-plugin-v2-with-msgpack
Future-Outlier dac2da4
update thomas's advice
Future-Outlier 3531201
change tree file structure
Future-Outlier e34ef69
update Niel's advice
Future-Outlier 2755c14
> to >=
Future-Outlier 69e455d
try monodoc build again
Future-Outlier 93e74ae
add pydantic README.md
Future-Outlier 77ded14
revert -vvv in monodocs
Future-Outlier 8e94aed
use model_validate_json to turn protobuf struct to python val
Future-Outlier f9e95f6
fix issue
Future-Outlier a37f8e3
handle flyte types in dict transformer from protobuf struct input (e.…
Future-Outlier 26a848b
Add print
Future-Outlier 029d159
expected python type
Future-Outlier f175218
switch call function order
Future-Outlier cbff823
try msgpack to handle protobug struct
Future-Outlier ae380fd
Better Comment in Dict Transformer
Future-Outlier 28ef345
Propeller -> FlytePropeller
Future-Outlier 55334e9
dict_to_flyte_types
Future-Outlier 169ac0c
remove comments
Future-Outlier 3613e0c
add attr for protobuf struct . dict
Future-Outlier ffce49d
Add Life Cycle for Flyte Types
Future-Outlier 5c9be13
better comments for derializing flyteschema and sd
Future-Outlier 429ccd5
nit
Future-Outlier 8a8c6ce
add back pv._remote_path = None to flytefile and flytedir
Future-Outlier 81b2169
experiment
Future-Outlier d72d72d
experiment
Future-Outlier 6d6c112
experiment
Future-Outlier a860803
Add comments
Future-Outlier fb82dd5
update Yee's advice
Future-Outlier 8eb45ff
code dc -> bm
Future-Outlier 2edd542
Example dc -> bm and Example all flyte types
Future-Outlier 989e6e0
fix union dataclass, not yet add comments
Future-Outlier ffd3aa2
solve conflict
Future-Outlier f699419
add pydantic and dataclass optional test
Future-Outlier 86b34ab
NoneType=type(None)
Future-Outlier ebe61db
fix union transformer none case with Eduardo
Future-Outlier ac624d4
add comments for none type transformer + union transformer
Future-Outlier 9982e8c
add TODO
Future-Outlier 42ab3d3
Merge branch 'master' into pydantic-plugin-v2-with-msgpack
Future-Outlier 85839e9
use deserailize = True
Future-Outlier f188415
add all deserialize
Future-Outlier 90771fd
better comments
Future-Outlier 1d8fe55
better comments
Future-Outlier e1b3f4f
test
Future-Outlier 729ba27
Fix flyte directory issue by discussion with Kevin
Future-Outlier 5bd3616
merge master
Future-Outlier 9883c7f
add tests for providing conext when doing serialization
Future-Outlier 79c9dc7
Merge branch 'master' into pydantic-plugin-v2-with-msgpack
Future-Outlier 047b6ac
lint
Future-Outlier 26a3745
test
Future-Outlier f07ec94
move setattr to core
Future-Outlier a64efa0
remove comments
Future-Outlier 6394175
lint
Future-Outlier d6707a0
remove
Future-Outlier 6ab30a0
testing
Future-Outlier 3f39657
Merge branch 'master' into pydantic-plugin-v2-with-msgpack
Future-Outlier f2e165a
nit
Future-Outlier 8e848bf
flytekit/core/type_engine.py
Future-Outlier 7d291e3
add tests for Union
Future-Outlier 5374a14
Trigger CI
Future-Outlier 7d045be
remove nonetype
Future-Outlier 8dd746a
raw=Fasle as default
Future-Outlier eba2bf0
Merge branch 'master' into pydantic-plugin-v2-with-msgpack
Future-Outlier 753b240
pydantic move to core test
Future-Outlier a380def
move to core
Future-Outlier 971aa47
log
Future-Outlier ff2d4a0
update
Future-Outlier 6c3450b
lint
Future-Outlier 5a1d58b
test
Future-Outlier 4cfde94
nit
Future-Outlier e0d0a76
nit
Future-Outlier 76c1d56
lint
Future-Outlier 7972f95
move to type_engine
Future-Outlier 6de3478
move back to init
Future-Outlier 7c4c009
update kevin's advice
Future-Outlier 4fc0622
wip
Future-Outlier edfc8ef
use decorator
Future-Outlier d8e4c6a
Merge branch 'master' into pydantic-plugin-v2-with-msgpack
Future-Outlier 6c5b19f
decorator
Future-Outlier 76ae0ef
fix syntax to support python 3.9
Future-Outlier dfe8762
add Eduardo's advice
Future-Outlier 7735352
warning
Future-Outlier 959f02b
Merge branch 'master' into pydantic-plugin-v2-with-msgpack
Future-Outlier 85df643
Update Yee's advice
Future-Outlier f440dab
Show traceback by default (#2862)
pingsutw 4f5f74e
Support Identifier in generate_console_url (#2868)
thomasjpfan edf995c
Support overriding node metadata for array node (#2865)
pvditt 3dbb336
Fix Jupyter Versioning (#2866)
Mecoli1219 2bccd1b
improved output handling in notebooks (#2869)
kumare3 bf283f6
tests by Yee's suggestion
Future-Outlier 6993f09
fix tests
Future-Outlier a3fef67
Merge branch 'master' into pydantic-plugin-v2-with-msgpack
Future-Outlier d983c07
format tests
Future-Outlier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since we are going to remove pydantic v1 in the future and this will fail when pydantic version > 2 (CI use pydantic version > 2)
Let's comment it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove it?