chalice icon indicating copy to clipboard operation
chalice copied to clipboard

Fixes #1879: Serializes Sets in Response

Open leonelgalan opened this issue 4 years ago • 0 comments

I'm getting an item from a DynamoDB Table that has a set attribute. Simply returning the item at the end of the request through Chalice raises this error:

TypeError: Object of type set is not JSON serializable

Issue #1879

It handles set as an "extra" type during JSON Serialization.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

leonelgalan avatar Jan 30 '22 18:01 leonelgalan