This repository was archived by the owner on Mar 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
localstack-core/localstack/services/dynamodb Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1327,7 +1327,7 @@ def transact_write_items(
13271327 for key in ["Put" , "Update" , "Delete" ,"ConditionCheck" ]:
13281328 inner_item : Put | Delete | Update = item .get (key )
13291329 if inner_item :
1330- # We formar ARN to just the table name because currently DynamoDB Local does not support
1330+ # We format ARN to just the table name because currently DynamoDB Local does not support
13311331 # ARN for table name: https://github.com/awslabs/amazon-dynamodb-local-samples/issues/34
13321332 inner_item ["TableName" ] = inner_item ["TableName" ].split (":table/" )[- 1 ]
13331333 table_name = inner_item ["TableName" ]
@@ -1360,7 +1360,7 @@ def transact_write_items(
13601360 #We modify the request so it matches the TransactItem object formatted.
13611361 data = json .loads (context .request .data )
13621362 data ["TransactItems" ] = transact_items
1363- context .request .data = to_bytes (json .dumps (data ))
1363+ context .request .data = to_bytes (json .dumps (data , cls = BytesEncoder ))
13641364
13651365 if existing_items_to_fetch :
13661366 existing_items = ItemFinder .find_existing_items (
You can’t perform that action at this time.
0 commit comments