Skip to content

Commit

Permalink
fix: add missing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
jorwoods committed May 30, 2024
1 parent 2c0e2bd commit cad1711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tableauserverclient/models/reference_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def __str__(self):

__repr__ = __str__

def __eq__(self, other: object):
def __eq__(self, other: object) -> bool:
if not hasattr(other, "id") or not hasattr(other, "tag_name"):
return False
return (self.id == other.id) and (self.tag_name == other.tag_name)
Expand Down

0 comments on commit cad1711

Please sign in to comment.