superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnbod...@apache.org
Subject [incubator-superset] 27/43: fix tesT
Date Fri, 11 Jan 2019 02:22:31 GMT
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 <conglei.shi@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)


Mime
View raw message