Skip to content

Commit

Permalink
Hash tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Nov 15, 2024
1 parent 3f0e9aa commit 6cbe4f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,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 6cbe4f4

Please sign in to comment.