Closed jdiaz5513 closed 8 months ago
Because Welkin uses UUIDs for IDs it's a common footgun to accidentally pass an instantiated UUID class into the body of a welkin payload, causing a TypeError: Object of type UUID is not JSON serializable.
TypeError: Object of type UUID is not JSON serializable
This may only require a few lines to add UUID support to clean_request_payload.
clean_request_payload
Because Welkin uses UUIDs for IDs it's a common footgun to accidentally pass an instantiated UUID class into the body of a welkin payload, causing a
TypeError: Object of type UUID is not JSON serializable
.This may only require a few lines to add UUID support to
clean_request_payload
.