#2674 - ListAppend should also work when adding maps to a list
This commit is contained in:
parent
74ad2d7d3c
commit
5f59cb7fb0
2 changed files with 53 additions and 1 deletions
|
|
@ -457,7 +457,7 @@ class Item(BaseModel):
|
|||
)
|
||||
if not old_list.is_list():
|
||||
raise ParamValidationError
|
||||
old_list.value.extend(new_value["L"])
|
||||
old_list.value.extend([DynamoType(v) for v in new_value["L"]])
|
||||
value = old_list
|
||||
return value
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue