You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2020/11/20 01:46:13 UTC

[incubator-superset] branch add-userinfo-sqllab created (now 14b2a71)

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a change to branch add-userinfo-sqllab
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


      at 14b2a71  linting

This branch includes the following new commits:

     new 14b2a71  linting

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-superset] 01/01: linting

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch add-userinfo-sqllab
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 14b2a71b05c282107bddfd2cfbc6d0d83539e503
Author: hughhhh <hu...@gmail.com>
AuthorDate: Thu Nov 19 17:45:26 2020 -0800

    linting
---
 superset/views/core.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/superset/views/core.py b/superset/views/core.py
index fbfac7c..e12e50c 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -2729,6 +2729,8 @@ class Superset(BaseSupersetView):  # pylint: disable=too-many-public-methods
                 payload["requested_query"] = json.loads(form_data)
             except json.JSONDecodeError:
                 pass
+
+        payload["user"] = bootstrap_user_data(g.user)
         bootstrap_data = json.dumps(
             payload, default=utils.pessimistic_json_iso_dttm_ser
         )