You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2019/01/11 02:22:31 UTC
[incubator-superset] 27/43: fix tesT
This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch feature--embeddable-charts-pilot
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit f406a1b4ff2aaf0536bd9053e0f92e29251ddbc0
Author: Conglei Shi <co...@airbnb.com>
AuthorDate: Fri Dec 14 11:10:40 2018 -0800
fix tesT
---
superset/views/api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/views/api.py b/superset/views/api.py
index 8f03525..e42bd20 100644
--- a/superset/views/api.py
+++ b/superset/views/api.py
@@ -24,7 +24,7 @@ class Api(BaseSupersetView):
Takes a query_obj constructed in the client and returns payload data response
for the given query_obj.
"""
- query_context = QueryConext(**json.loads(request.form.get('query_context')))
+ query_context = QueryContext(**json.loads(request.form.get('query_context')))
security_manager.assert_datasource_permission(query_context.datasource)
payload_json = query_context.get_payload()
return json.dumps(payload_json)