feat: show missing parameters in query (#12049)

* feat: show missing parameters in query

* Fix lint

* Address comments

* Simplify error message

* Use f-string in helper function
This commit is contained in:
Beto Dealmeida
2020-12-15 18:47:40 -08:00
committed by GitHub
parent 8da1900d8a
commit 8bda6b0bd9
11 changed files with 108 additions and 13 deletions

View File

@@ -324,6 +324,7 @@ class SupersetTestCase(TestCase):
tmp_table_name=None,
schema=None,
ctas_method=CtasMethod.TABLE,
template_params="{}",
):
if user_name:
self.logout()
@@ -336,6 +337,7 @@ class SupersetTestCase(TestCase):
"queryLimit": query_limit,
"sql_editor_id": sql_editor_id,
"ctas_method": ctas_method,
"templateParams": template_params,
}
if tmp_table_name:
json_payload["tmp_table_name"] = tmp_table_name