From 71786dba64a0b96bd914d9f67d6fdec63b9c476a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90=E1=BB=97=20Tr=E1=BB=8Dng=20H=E1=BA=A3i?= <41283691+hainenber@users.noreply.github.com> Date: Thu, 1 Aug 2024 22:52:40 +0700 Subject: [PATCH] fix(ci): remove unused "type: ignore" comment to unblock precommit check in CI (#29830) Signed-off-by: hainenber --- superset/utils/json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/utils/json.py b/superset/utils/json.py index 50a76d1a7cb50..8709e199b2225 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,