From e8b61e082377fa380eb76992aeada3f23a8adf6b Mon Sep 17 00:00:00 2001 From: Mattia <5013654+mattiamatrix@users.noreply.github.com> Date: Thu, 18 Jan 2024 19:55:56 +0000 Subject: [PATCH] Update hash --- prefect_aws/credentials.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/prefect_aws/credentials.py b/prefect_aws/credentials.py index 8565126c..5125e56a 100644 --- a/prefect_aws/credentials.py +++ b/prefect_aws/credentials.py @@ -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: """ @@ -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: """