diff --git a/octopoes/octopoes/models/__init__.py b/octopoes/octopoes/models/__init__.py index 6f84d589320..362b4c0d254 100644 --- a/octopoes/octopoes/models/__init__.py +++ b/octopoes/octopoes/models/__init__.py @@ -240,7 +240,7 @@ def _serialize_value(self, value: Any, required: bool) -> SerializedOOIValue: return str(value) def __hash__(self): - return hash(self.model_dump_json()) + return hash(self.primary_key) OOIClassType = TypeVar("OOIClassType")