Skip to content

Commit de71882

Browse files
committed
chore(idempotency): make mypy happy
1 parent 0aef100 commit de71882

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

aws_lambda_powertools/utilities/idempotency/persistence/dynamodb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def _put_record(self, data_record: DataRecord) -> None:
174174
"#now": self.expiry_attr,
175175
"#status": self.status_attr,
176176
}
177-
expression_attribute_values = {":now": int(now.timestamp())}
177+
expression_attribute_values: Dict[str, Any] = {":now": int(now.timestamp())}
178178

179179
# When we want to expire_in_progress invocations, we check if the in_progress timestamp exists
180180
# and we are past that timestamp. We also make sure the status is INPROGRESS because we don't

0 commit comments

Comments
 (0)