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