update id

This commit is contained in:
2025-11-07 16:09:01 -03:00
parent c8b4d9beeb
commit 4c50692cd9
27 changed files with 210 additions and 517 deletions

View File

@@ -53,6 +53,9 @@ def lambda_handler(event: DynamoDBStreamEvent, context: LambdaContext):
new_image = record.dynamodb.new_image # type: ignore
table_name = table_from_arn(record.event_source_arn) # type: ignore
keys = record.dynamodb.keys # type: ignore
# Pay attention - key order matters
# e.g., {"id": ..., "sk": ...} and {"sk": ..., "id": ...}
# generate different MD5 hashes
_id = md5_hash(str(keys))
match record.event_name:

View File

@@ -496,7 +496,7 @@ wheels = [
[[package]]
name = "layercake"
version = "0.11.0"
version = "0.11.1"
source = { directory = "../layercake" }
dependencies = [
{ name = "arnparse" },