You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great project! I'm trying to replace mongoengine with umongo because of its awesome asyncio support. In that, I got a problem. I'd really appreciate any input here:
I'm trying to dump objects that contain umongo documents. I put an MRE here:
File "test.py", line 39, in main
print(pickle.dumps(test_instance))
_pickle.PicklingError: Can't pickle <class 'umongo.data_proxy.TestDocDataProxy'>: attribute lookup TestDocDataProxy on umongo.data_proxy failed
I also checked #167 saying that umongo has its own way of dumping and loading and pickling won't work. What would be the best way of resolving the above case?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi there,
Thanks for the great project! I'm trying to replace mongoengine with umongo because of its awesome asyncio support. In that, I got a problem. I'd really appreciate any input here:
I'm trying to dump objects that contain umongo documents. I put an MRE here:
However, this says:
I also checked #167 saying that umongo has its own way of dumping and loading and pickling won't work. What would be the best way of resolving the above case?
Thanks in advance.
The text was updated successfully, but these errors were encountered: