DynamoDB - Transact_get_items - Remove error condition
This commit is contained in:
parent
5a7da61833
commit
caebe222d7
2 changed files with 3 additions and 44 deletions
|
|
@ -10,7 +10,7 @@ from .exceptions import InvalidIndexNameError, InvalidUpdateExpression, ItemSize
|
|||
from .models import dynamodb_backends, dynamo_json_dump
|
||||
|
||||
|
||||
TRANSACTION_MAX_ITEMS = 10
|
||||
TRANSACTION_MAX_ITEMS = 25
|
||||
|
||||
|
||||
def has_empty_keys_or_values(_dict):
|
||||
|
|
@ -850,11 +850,6 @@ class DynamoHandler(BaseResponse):
|
|||
|
||||
return self.error('ValidationException', msg)
|
||||
|
||||
dedup_list = [i for n, i in enumerate(transact_items) if i not in transact_items[n + 1:]]
|
||||
if len(transact_items) != len(dedup_list):
|
||||
er = 'com.amazon.coral.validate#ValidationException'
|
||||
return self.error(er, 'Transaction request cannot include multiple operations on one item')
|
||||
|
||||
ret_consumed_capacity = self.body.get('ReturnConsumedCapacity', 'NONE')
|
||||
consumed_capacity = dict()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue