Merge pull request #2763 from bblommers/bugfix/multiple_items_in_ddbstream

DynamoDB Streams: Bugfix when sending multiple items
This commit is contained in:
Steve Pulec 2020-03-07 11:46:24 -06:00 committed by GitHub
commit 05236684f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 54 deletions

View file

@ -981,7 +981,7 @@ class LambdaBackend(BaseBackend):
]
}
func = self._lambdas.get_arn(function_arn)
func.invoke(json.dumps(event), {}, {})
return func.invoke(json.dumps(event), {}, {})
def list_tags(self, resource):
return self.get_function_by_arn(resource).tags