We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b59dc commit 28f2343Copy full SHA for 28f2343
src/pytask_parallel/backends.py
@@ -17,7 +17,8 @@ def deserialize_and_run_with_cloudpickle(
17
) -> Any:
18
"""Deserialize and execute a function and keyword arguments."""
19
deserialized_kwargs_import_path = cloudpickle.loads(kwargs_import_path)
20
- import_path(**deserialized_kwargs_import_path)
+ if deserialized_kwargs_import_path:
21
+ import_path(**deserialized_kwargs_import_path)
22
23
deserialized_fn = cloudpickle.loads(fn)
24
deserialized_kwargs = cloudpickle.loads(kwargs)
0 commit comments