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 0ca111e commit 49f71b1Copy full SHA for 49f71b1
packages/models-library/src/models_library/utils/nodes.py
@@ -64,8 +64,8 @@ async def compute_node_hash(
64
if payload is not None:
65
resolved_payload[port_type][port_key] = payload
66
67
- # now create the hash
68
# WARNING: Here we cannot change to json_serialization.json_dumps because if would create a different dump string and therefore a different hash
+ # typically test_node_ports_v2_serialization_v2.py::test_dump will fail if you do this change.
69
# NOTE that these hashes might have been already stored elsewhere
70
block_string = json.dumps(resolved_payload, sort_keys=True).encode("utf-8")
71
raw_hash = hashlib.sha256(block_string)
0 commit comments