Closed nitish6174 closed 7 years ago
The POST API : /api/file/ fails when some of the values in attributes are "nan".
Need to handle the NaN case
Fixed this (as part of commit #3712c7d) using:
import simplejson jsonify(json.loads(simplejson.dumps(d, ignore_nan=True)))
in place of
jsonify(d)
This converts NaN into JSON-compatible null
NaN
null
The POST API : /api/file/ fails when some of the values in attributes are "nan".
Need to handle the NaN case