Skip to content

Commit 49f71b1

Browse files
committed
cleanup
1 parent 0ca111e commit 49f71b1

File tree

1 file changed

+1
-1
lines changed
  • packages/models-library/src/models_library/utils

1 file changed

+1
-1
lines changed

packages/models-library/src/models_library/utils/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ async def compute_node_hash(
6464
if payload is not None:
6565
resolved_payload[port_type][port_key] = payload
6666

67-
# now create the hash
6867
# WARNING: Here we cannot change to json_serialization.json_dumps because if would create a different dump string and therefore a different hash
68+
# typically test_node_ports_v2_serialization_v2.py::test_dump will fail if you do this change.
6969
# NOTE that these hashes might have been already stored elsewhere
7070
block_string = json.dumps(resolved_payload, sort_keys=True).encode("utf-8")
7171
raw_hash = hashlib.sha256(block_string)

0 commit comments

Comments
 (0)