chalice
chalice copied to clipboard
Fixes #1879: Serializes Sets in Response
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.