There was an error while loading. Please reload this page.
1 parent 39fbd9d commit 0d4860bCopy full SHA for 0d4860b
1 file changed
sdk/python/feast/types.py
@@ -50,7 +50,10 @@ def __hash__(self):
50
return hash(self.to_value_type().value)
51
52
def __eq__(self, other):
53
- return self.to_value_type() == other.to_value_type()
+ if isinstance(other, ComplexFeastType):
54
+ return self.to_value_type() == other.to_value_type()
55
+ else:
56
+ return False
57
58
59
class PrimitiveFeastType(Enum):
0 commit comments