chore: migrate /sql_json and /results to apiv1 (#22809)

This commit is contained in:
Diego Medina
2023-01-30 13:02:34 -03:00
committed by GitHub
parent c9b7507931
commit b94052e438
38 changed files with 1460 additions and 880 deletions

View File

@@ -347,7 +347,7 @@ class SupersetTestCase(TestCase):
json_payload["schema"] = schema
resp = self.get_json_resp(
"/superset/sql_json/", raise_on_error=False, json_=json_payload
"/api/v1/sqllab/execute/", raise_on_error=False, json_=json_payload
)
if raise_on_error and "error" in resp:
raise Exception("run_sql failed")