From 3437fdf37c914941b73031e18f92cb3d6849aed4 Mon Sep 17 00:00:00 2001 From: Krishnan Govindraj Date: Fri, 14 Nov 2025 15:31:18 +0100 Subject: [PATCH] Fix _Value __eq__ --- python/typedb/concept/value/value.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/typedb/concept/value/value.py b/python/typedb/concept/value/value.py index 5a77d36381..a6b7b4e136 100644 --- a/python/typedb/concept/value/value.py +++ b/python/typedb/concept/value/value.py @@ -115,7 +115,7 @@ def __str__(self): def __eq__(self, other): if other is self: return True - if not other or type(self) is not type(other) or self.get_value_type() != other.get_value_type(): + if not other or type(self) is not type(other) or self.try_get_value_type() != other.try_get_value_type(): return False return self.get() == other.get()