We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c0e2bd commit cad1711Copy full SHA for cad1711
1 file changed
tableauserverclient/models/reference_item.py
@@ -8,7 +8,7 @@ def __str__(self):
8
9
__repr__ = __str__
10
11
- def __eq__(self, other: object):
+ def __eq__(self, other: object) -> bool:
12
if not hasattr(other, "id") or not hasattr(other, "tag_name"):
13
return False
14
return (self.id == other.id) and (self.tag_name == other.tag_name)
0 commit comments