Skip to content

Commit 03a40cb

Browse files
committed
chore: Fix variable typo
1 parent b81fd49 commit 03a40cb

File tree

1 file changed

+3
-3
lines changed
  • aws_lambda_powertools/utilities/idempotency/persistence

1 file changed

+3
-3
lines changed

aws_lambda_powertools/utilities/idempotency/persistence/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,11 @@ def _get_hashed_idempotency_key(self, event: Dict[str, Any], context: LambdaCont
182182
raise IdempotencyKeyError("No data found to create a hashed idempotency_key")
183183
warnings.warn(f"No value found for idempotency_key. jmespath: {self.event_key_jmespath}")
184184

185-
generated_hard = self._generate_hash(data)
185+
generated_hash = self._generate_hash(data)
186186
if self.include_function_name:
187-
return f"{context.function_name}#{generated_hard}"
187+
return f"{context.function_name}#{generated_hash}"
188188
else:
189-
return generated_hard
189+
return generated_hash
190190

191191
@staticmethod
192192
def is_missing_idempotency_key(data) -> bool:

0 commit comments

Comments
 (0)