With the current setup its possible for the python client to send invalid json to the server (causing a hard to debug 500 there), because by default json.dump allows NaNs to be included in the generated json. I propose setting allow_nan=False in all json.dump calls to avoid this and generate a clear error on the client.
cc @freeman-lab
With the current setup its possible for the python client to send invalid json to the server (causing a hard to debug 500 there), because by default
json.dumpallows NaNs to be included in the generated json. I propose settingallow_nan=Falsein alljson.dumpcalls to avoid this and generate a clear error on the client.cc @freeman-lab