Serialization with when_used=always
or when_used=json
?
#31
-
Hello, Pros for
It has cons too:
Ideally, I guess, you want to make it configurable.. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Indeed, we should make it configurable for those that want to tinker.
I disagree, they are different methods, doesn't mean they should have the same effect.
Having
I don't understand. Best solution from my point of view is to introduce factory methods for JSON and Another solution is to generate code where we have all the combinations available. |
Beta Was this translation helpful? Give feedback.
-
I'll look into it.. so essentially what we want is two more args to factory function with meaningful (NumpyDataDict) defaults? |
Beta Was this translation helpful? Give feedback.
Meaningful might be the wrong descriptor; defaults that keep the current behavior. We have to avoid breaking changes.