Skip to content

Commit a1e79b1

Browse files
committed
fix: hash collison
1 parent 7fa827c commit a1e79b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

execution_engine/omop/serializable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ def __hash__(self) -> int:
9393
"""
9494
Get the hash of the object.
9595
"""
96-
return hash(self.json())
96+
return hash(self.__class__.__name__.encode() + self.json())

0 commit comments

Comments
 (0)