Skip to content

Commit 311e3dd

Browse files
committed
updated cache initialisation
1 parent 0a10f6c commit 311e3dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydra/engine/specs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def _compute_hashes(self) -> ty.Tuple[bytes, ty.Dict[str, bytes]]:
102102
if "container_path" in field.metadata:
103103
continue
104104
inp_dict[field.name] = getattr(self, field.name)
105-
hash_cache = Cache({})
105+
hash_cache = Cache()
106106
field_hashes = {
107107
k: hash_function(v, cache=hash_cache) for k, v in inp_dict.items()
108108
}

0 commit comments

Comments
 (0)