Skip to content

Support serialising/pickling recursive types #36

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

Open
cjdoris opened this issue Aug 23, 2021 · 0 comments
Open

Support serialising/pickling recursive types #36

cjdoris opened this issue Aug 23, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@cjdoris
Copy link
Collaborator

cjdoris commented Aug 23, 2021

This can be done by having a custom Pickler and Unpickler classes which take a Julia Serializer on construction which is used to serialize any Julia objects it sees in persistent_id. These classes are used when serializing a Python object.

Similarly we can have a custom Serializer type which takes a Python Pickler and Unpickler on construction which is used to (de-)serialize any Python objects it sees. This class is used when pickling/unpickling a Julia object.

@cjdoris cjdoris added the enhancement New feature or request label Oct 2, 2021
@github-actions github-actions bot added the stale Issues about to be auto-closed label Sep 20, 2023
@JuliaPy JuliaPy deleted a comment from github-actions bot Sep 22, 2023
@cjdoris cjdoris removed the stale Issues about to be auto-closed label Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant