diff --git a/superset/utils/json.py b/superset/utils/json.py index 50a76d1a7..8709e199b 100644 --- a/superset/utils/json.py +++ b/superset/utils/json.py @@ -211,7 +211,7 @@ def dumps( # pylint: disable=too-many-arguments cls=cls, ) except UnicodeDecodeError: - results_string = simplejson.dumps( # type: ignore[call-overload] + results_string = simplejson.dumps( obj, default=default, allow_nan=allow_nan,