From 2bd13e4851d855786fcd57b06db0702b4b3a52d0 Mon Sep 17 00:00:00 2001 From: William Patton Date: Thu, 13 Jun 2024 15:28:12 -0700 Subject: [PATCH] pass black formatting and mypy check --- daisy/worker.py | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/daisy/worker.py b/daisy/worker.py index 30789232..41d3054b 100644 --- a/daisy/worker.py +++ b/daisy/worker.py @@ -54,7 +54,7 @@ def __init__(self, spawn_function, context=None, error_queue=None): @property def spawn_function(self): return dill.loads(self._spawn_function) - + @spawn_function.setter def spawn_function(self, value): self._spawn_function = dill.dumps(value) diff --git a/pyproject.toml b/pyproject.toml index 166fd13b..a5d92e42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,5 +47,6 @@ module = [ "funlib.*", "tqdm.*", "pkg_resources.*", + "dill", ] ignore_missing_imports = true \ No newline at end of file