Skip to content

Commit

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

Please sign in to comment.