recurse when pickling objects with dill

This commit is contained in:
Wim Pomp
2026-01-08 20:14:08 +01:00
parent 81d0362540
commit 1098239af9
2 changed files with 2 additions and 2 deletions

View File

@@ -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]:

View File

@@ -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" }