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
https://pypi.org/project/dill/ may allow us to pickle functions that behave the same way across two different environments (by getting source code). this should allow us to pickle arbitrary functions but will have to see if multiple functions can be encoded. there is an open issue using it inside ipython (uqfoundation/dill#346)
The text was updated successfully, but these errors were encountered:
Was looking into typing and found out that dill doesn't preserve type annotations when pickling typed functions (uqfoundation/dill#179). Still not working on python 3.7.7 and dill 0.3.2, which is the latest version. Potentially an issue?
@nicolocin - that may not be a necessary element since our use of dill is after the function has been transformed to a task, at which point it would be nice to have the annotations, but not necessary. you can check if dill can get the source code with the annotations.
https://pypi.org/project/dill/ may allow us to pickle functions that behave the same way across two different environments (by getting source code). this should allow us to pickle arbitrary functions but will have to see if multiple functions can be encoded. there is an open issue using it inside ipython (uqfoundation/dill#346)
The text was updated successfully, but these errors were encountered: