bolkedebruin commented on issue #3604: Mapbox Visualizatuion error cause by "is not JSON serializable" URL: https://github.com/apache/incubator-superset/issues/3604#issuecomment-352280582 Digging abit deeper, unfortunately adding a "default()" method will not work. The json module has a bit of a peculiar default way of doing serialization, which does not allow serialization methods being added to classes. However, here it seems that a DruidMetric is somewhere to being forgotten to be .json_obj() as it is done in `run_query` for metrics. Somehow one (or more) slips trough.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services