We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfc36fe commit a6f58a1Copy full SHA for a6f58a1
plasma/utils/downloading.py
@@ -43,14 +43,14 @@ def general_object_hash(o):
43
dictionaries). Relies on dill for serialization"""
44
45
if isinstance(o, (set, tuple, list)):
46
- return tuple([make_hash(e) for e in o])
+ return tuple([general_object_hash(e) for e in o])
47
48
elif not isinstance(o, dict):
49
return myhash(o)
50
51
new_o = deepcopy(o)
52
for k, v in new_o.items():
53
- new_o[k] = make_hash(v)
+ new_o[k] = general_object_hash(v)
54
55
return myhash(tuple(frozenset(sorted(new_o.items()))))
56
0 commit comments