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

fix(pickle): make Parameter instances pickleable #9798

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Aug 8, 2024

The pickles expect a specific constructor for Parameter, so remove our custom constructor and provide a classmethod with the previous behavior for convenience. Closes #9793.

@cpcloud cpcloud added the bug Incorrect behavior inside of ibis label Aug 8, 2024
@cpcloud cpcloud requested a review from jcrist August 8, 2024 12:16
@cpcloud cpcloud force-pushed the cldpkl branch 2 times, most recently from a6eb678 to 3f10b2b Compare August 8, 2024 12:19
@gforsyth gforsyth merged commit d772c80 into ibis-project:main Aug 8, 2024
83 checks passed
@cpcloud cpcloud deleted the cldpkl branch August 8, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior inside of ibis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: unable to deserialize using cloudpickle
2 participants