We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8938148 commit 0fc80ceCopy full SHA for 0fc80ce
aws_lambda_powertools/utilities/idempotency/persistence/base.py
@@ -224,7 +224,7 @@ def _generate_hash(self, data: Any) -> str:
224
Hashed representation of the provided data
225
226
"""
227
-data = getattr(data, "raw_event", data) # could be a data class depending on decorator order
+ data = getattr(data, "raw_event", data) # could be a data class depending on decorator order
228
hashed_data = self.hash_function(json.dumps(data, cls=Encoder).encode())
229
return hashed_data.hexdigest()
230
0 commit comments