refactor: Unify all json.(loads|dumps) usage to utils.json (#28702)

Co-authored-by: Eyal Ezer <eyal.ezer@ge.com>
This commit is contained in:
Eyal Ezer
2024-05-28 16:17:41 -05:00
committed by GitHub
parent 87110ebce4
commit 07b2449bd7
234 changed files with 530 additions and 480 deletions

View File

@@ -17,7 +17,6 @@
# isort:skip_file
"""Unit tests for Sql Lab"""
import json
from datetime import datetime
from textwrap import dedent
@@ -45,6 +44,7 @@ from superset.sql_lab import (
)
from superset.sql_parse import CtasMethod
from superset.utils.core import backend
from superset.utils import json
from superset.utils.json import datetime_to_epoch # noqa: F401
from superset.utils.database import get_example_database, get_main_database