Closed oovm closed 4 years ago
You should take a look at this section of the documentation: https://reference.wolfram.com/language/WolframClientForPython/docpages/advanced_usages.html#extending-serialization-writing-an-encoder
It explain how one can define encoders for arbitrary classes. Please let me know if that answers your question.
Nice work, very easy to use!
I know that class who inherits the
WLSerializable
class and overrides theto_wl
method can be automatically converted in Mathematica.But how to modify the existing python class?
For example, how to extend symbols in sympy.