-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Integrate lambda name pickling with Cloudpickle #35904
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
Merged
Merged
Changes from 54 commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
f777002
implement lambda name pickling in cloudpickle
kristynsmith d172299
add enable_lambda_name to __init__
kristynsmith 1f9725e
fix formatting and lint
kristynsmith a9e6652
fix typo
kristynsmith c5fa831
fix code paths in test
kristynsmith c32c32f
fix tests
kristynsmith df614e0
fix lint
kristynsmith 261104a
fix formatting and failing test
kristynsmith d1618f4
fix formatting again
kristynsmith 475e7f1
Merge branch 'master' into main
kristynsmith 2eb780a
fix formatting
kristynsmith 577513e
add conditionals for error handling
kristynsmith 42ce261
formatting
kristynsmith e5632c1
fix typo
kristynsmith c8e864f
formatting
kristynsmith bde162c
Merge branch 'master' into main
kristynsmith 2e9b8ad
remove enable_lambda_pickle from __init__ and add to config
kristynsmith 7d731e5
fix typo
kristynsmith 81befec
remove enable_lambda_name from dumps()
kristynsmith 3d7f8b8
do monkey-patch of cloudpickle
kristynsmith 3e90b99
fix typo
kristynsmith a776234
Update cloudpickle.py
kristynsmith 5674ef1
remove context manager and patched_function_getnewargs
kristynsmith c07a044
rename enable_stable_code_indentifier_pickling to enable_stable_funct…
kristynsmith 8d7b663
address comments and formatting
kristynsmith 59b23aa
remove enable_lambda_name form pipeline_context and remove enable_lam…
kristynsmith d3acc1e
make newargs a tuple
kristynsmith 2ada3f3
Merge branch 'master' into main
kristynsmith 2b8becb
remove unnecessary changes to cloudpickle.py
kristynsmith 3a4dc75
remove lambda pickling tests
kristynsmith 5207565
fix formatting
kristynsmith 55de26c
fix lint
kristynsmith 599cd4a
format
kristynsmith 73df5fe
Update cloudpickle_pickler.py
kristynsmith af7d95a
fix pickler_test tests
kristynsmith ecaf70e
implement new design
kristynsmith 40cc2c7
fix indent
kristynsmith cfb3224
fix naming typo
kristynsmith 0935a45
typo
kristynsmith c1b48b7
fix naming
kristynsmith e8de95a
remove get_code_object_identifier form DEFAULT_CONFIG
kristynsmith cbf40db
change conditional
kristynsmith 5cb1566
formatting
kristynsmith 053911a
fix error
kristynsmith a636c89
format
kristynsmith eea0652
fix tests
kristynsmith f2ccacc
add import
kristynsmith 9aa75d3
fix test again
kristynsmith 0c26254
edit _stable_identifier_function_reduce to make tests pass
kristynsmith b2b6675
add GetCodeObjectParams and edit STABLE_CODE_IDENTIFIER_CONFIG
kristynsmith 4fd61ce
still trying to fix test
kristynsmith 31dd574
fix test and cleanup
kristynsmith 413a840
format
kristynsmith 788a7ab
fix typo
kristynsmith c9799ae
add filtering for globals in _stable_identifier_function_reduce
kristynsmith d0749b9
add test_stable_identifier_uses_current_code
kristynsmith 2395e24
fix indent
kristynsmith a177cbc
format
kristynsmith 8b446d4
add mutable_test_function
kristynsmith 82525d0
format
kristynsmith 029fdea
fix string indent
kristynsmith 0e5baa1
fix string indent again
kristynsmith 9b91709
update _make_function_from_identifier to fix test
kristynsmith 363455e
use textwrap for string formatting
kristynsmith d4f06e2
format
kristynsmith 24d160e
fix indent
kristynsmith 0ecc485
edit docstring
kristynsmith e10235c
Merge branch 'apache:master' into main
kristynsmith 5313064
Update _dumps function to include stable code identifier
kristynsmith a161511
fix syntax
kristynsmith 449031e
format
kristynsmith 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.