Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update hash
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiamatrix committed Jan 18, 2024
1 parent 3200967 commit e8b61e0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions prefect_aws/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ class Config:
arbitrary_types_allowed = True

def __hash__(self):
return id(self)
# return hash(self.json())
return hash(self.json())

def get_boto3_session(self) -> boto3.Session:
"""
Expand Down Expand Up @@ -222,8 +221,7 @@ class Config:
arbitrary_types_allowed = True

def __hash__(self):
return id(self)
# return hash(self.json())
return hash(self.json())

def get_boto3_session(self) -> boto3.Session:
"""
Expand Down

0 comments on commit e8b61e0

Please sign in to comment.