We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85ba04b + 64baa04 commit ab9a156Copy full SHA for ab9a156
1 file changed
src/semantic_digital_twin/datastructures/prefixed_name.py
@@ -18,7 +18,7 @@ def __str__(self):
18
return f"{self.prefix}/{self.name}"
19
20
def __eq__(self, other):
21
- if not isinstance(other, PrefixedName):
+ if not isinstance(other, type(self)):
22
return False
23
return self.prefix == other.prefix and self.name == other.name
24
0 commit comments