recurse when pickling objects with dill
This commit is contained in:
@@ -253,7 +253,7 @@ class Task:
|
||||
try:
|
||||
return False, ray.put(item)
|
||||
except Exception: # noqa
|
||||
return True, ray.put(dumps(item))
|
||||
return True, ray.put(dumps(item, recurse=True))
|
||||
|
||||
@property
|
||||
def fun(self) -> Callable[[Any, ...], Any]:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "parfor"
|
||||
version = "2026.1.3"
|
||||
version = "2026.1.4"
|
||||
description = "A package to mimic the use of parfor as done in Matlab."
|
||||
authors = [
|
||||
{ name = "Wim Pomp-Pervova", email = "wimpomp@gmail.com" }
|
||||
|
||||
Reference in New Issue
Block a user