Skip to content

Commit

Permalink
Hash tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Nov 21, 2024
1 parent 6b9e1d3 commit 3be662b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ def __eq__(self, other):
)

def __hash__(self):
return hash(self.account_id + self.api_key + self.api_secret)
return hash((self.account_id + self.api_key + self.api_secret))


@lru_cache(maxsize=None)
Expand Down

0 comments on commit 3be662b

Please sign in to comment.