-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[refactor] serdes pack/deserialize APIs #12524
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
7a55dd1
to
bf6b55d
Compare
2102cc0
to
7ad4c5c
Compare
bf6b55d
to
94206fe
Compare
7ad4c5c
to
9b3d7e3
Compare
94206fe
to
c1faecb
Compare
9b3d7e3
to
b26d635
Compare
f005375
to
5dd6dfe
Compare
b26d635
to
d62cc09
Compare
5dd6dfe
to
902edc3
Compare
b403d5e
to
0430200
Compare
902edc3
to
a9d9989
Compare
0430200
to
317e153
Compare
a9d9989
to
f1f97a6
Compare
317e153
to
db7330e
Compare
f1f97a6
to
557c7ef
Compare
7924750
to
378dbbc
Compare
557c7ef
to
399da44
Compare
378dbbc
to
d7f8955
Compare
8bbc961
to
82a786b
Compare
5bbaade
to
e285623
Compare
82a786b
to
1f0b504
Compare
e285623
to
f7514d0
Compare
1f0b504
to
6351d37
Compare
f7514d0
to
169a425
Compare
6351d37
to
4dc724a
Compare
169a425
to
14b2087
Compare
4dc724a
to
cd0f6c9
Compare
14b2087
to
653b90b
Compare
cd0f6c9
to
50dea09
Compare
5bcadd0
to
ebb24e3
Compare
50dea09
to
9d9770e
Compare
ebb24e3
to
7f48b3e
Compare
9d9770e
to
bf86440
Compare
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.
this PR seems to be in a weird stacked state where it contains additional changes - but i think i covered it well enough to believe this is good. Good tidying up on the API.
@@ -497,28 +496,6 @@ def _get_output_asset_materializations( | |||
tags[BACKFILL_ID_TAG] = backfill_id | |||
|
|||
if asset_partitions: | |||
metadata_mapping: Dict[ |
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.
are these metadata changes supposed to be in this PR or is this a stacking artifact?
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.
Stacking artifact, this happens in between time when downstack PR lands and target branch gets rebased.
bf86440
to
6807c35
Compare
7f48b3e
to
3363415
Compare
6807c35
to
c80abcb
Compare
3363415
to
274bb17
Compare
3eb8585
to
a8ac04b
Compare
[INTERNAL_BRANCH=sean/refactor-serdes]
a8ac04b
to
de4b416
Compare
Summary & Motivation
Consolidate APIs of
dagster._serdes
and update all callsites to use the new (typed) APIs.Major change is the consolidation of the various
deserialize/serialize/pack/unpack
functions used throughout the codebase into just 4 module-public functions, which incorporate typing:deserialize_value
serialize_value
unpack_value
pack_value
*_value
was used as opposed to bare e.g.deserialize
becauseserialize_value
anddeserialize_value
are part of our public API. This PR does not break the existing contract of those functions but does add some optional args to them.There is a significant companion PR for internal here: https://github.com/dagster-io/internal/pull/4974
How I Tested These Changes
BK