Skip to content

Commit 06f85c8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 27840ab commit 06f85c8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

executorlib/standalone/serialize.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,12 @@ def serialize_funct_h5(
6666
task_key = resource_dict["cache_key"]
6767
else:
6868
binary_all = cloudpickle.dumps(
69-
{"fn": fn, "args": fn_args, "kwargs": fn_kwargs, "resource_dict": resource_dict}
69+
{
70+
"fn": fn,
71+
"args": fn_args,
72+
"kwargs": fn_kwargs,
73+
"resource_dict": resource_dict,
74+
}
7075
)
7176
task_key = fn.__name__ + _get_hash(binary=binary_all)
7277
data = {

0 commit comments

Comments
 (0)