mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: migrate /sql_json and /results to apiv1 (#22809)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user