-
Notifications
You must be signed in to change notification settings - Fork 38
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
Serializing curves and solvers relying on multi-currency instruments #392
Comments
You are trying to serialize with Python's native |
I was trying to cache it with streamlit's inbuilt caching tag and when it showed signs of discomfort I also tried with joblib. |
This is just an oversight. Ensuring Python classes designed in Rust have native Python function (such as pickling) is often learned via trail and error... See PyO3/pyo3#4465 Is now fixed for 1.5.0 |
Thanks a lot then ! |
Hi !
Upon trying to serialize my differents curves it triggered :
I understand from doc that serializing from FXRates is, for now, done by hand by calling to_json.
Do you recommend tweaking all the classes relying on FXRates to make them serializable or is there a workaround/improvement scheduled for this purpose ?
Thanks !
The text was updated successfully, but these errors were encountered: