Skip to content

Commit

Permalink
Hash tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Nov 22, 2024
1 parent f172336 commit 5a87eb7
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 5a87eb7

Please sign in to comment.