Merge pull request #1977 from vadym-serdiuk/patch-1

Strip parenthesis in the KeyConditionExpression
This commit is contained in:
Steve Pulec 2018-12-28 21:16:50 -05:00 committed by GitHub
commit 5ed8a33a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -412,7 +412,7 @@ class DynamoHandler(BaseResponse):
range_values = [value_alias_map[
range_key_expression_components[2]]]
else:
hash_key_expression = key_condition_expression
hash_key_expression = key_condition_expression.strip('()')
range_comparison = None
range_values = []