Macros for serialization? #3957
Unanswered
ryan-minato
asked this question in
Questions
Replies: 1 comment
-
I think this is tracked in #100. It's not been a priority for me to go further right now, though I think something like #1375 would naturally fit with pickle support. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a use case for a distributed system (well, it's ray data), where all objects need to be serializable using pickle. So I have to write a lot of similar code #100 , and my IDE keeps complaining about too much repetition. I wonder if there's a better way.
like this(url)
I searched the documentation and issues and found that there doesn't seem to be a derive macro (or other method) to reuse this logic. I'm a Rust newbie, but I think a derive macro might be a good ideal. Does pyo3 have any plans to add it?
Beta Was this translation helpful? Give feedback.
All reactions