Skip to content

Commit 7264795

Browse files
author
Lucas McDonald
committed
m
1 parent e352a01 commit 7264795

File tree

2 files changed

+143246
-4
lines changed

2 files changed

+143246
-4
lines changed

DynamoDbEncryption/runtimes/python/src/aws_dbesdk_dynamodb/internal/resource_to_client.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,7 @@ def condition_handler(self, expression_key, request):
4949
except KeyError:
5050
out_names = attribute_names_from_built_expression
5151
# Join existing and new values.
52-
# BuiltConditionExpression returns values in resource format, but the request provides values in client format.
53-
# The Smithy-generated code will handle converting the values from client to resource format.
54-
# Convert the values to client format before joining.
55-
attribute_values_from_built_expression = dict_to_ddb(built_condition_expression.attribute_value_placeholders)
52+
attribute_values_from_built_expression = built_condition_expression.attribute_value_placeholders
5653
try:
5754
out_values = request["ExpressionAttributeValues"] | attribute_values_from_built_expression
5855
except KeyError:

0 commit comments

Comments
 (0)