You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ju...@apache.org on 2023/06/23 21:31:38 UTC

[superset] branch master updated: chore(sqllab): add extra_json on tabstate (#24489)

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

justinpark pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new e20b69587f chore(sqllab): add extra_json on tabstate (#24489)
e20b69587f is described below

commit e20b69587f351056f5f997c19f438b12302dcf0b
Author: JUST.in DO IT <ju...@airbnb.com>
AuthorDate: Fri Jun 23 14:31:31 2023 -0700

    chore(sqllab): add extra_json on tabstate (#24489)
---
 superset/models/sql_lab.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/models/sql_lab.py b/superset/models/sql_lab.py
index 96ec4010b3..20df535ad3 100644
--- a/superset/models/sql_lab.py
+++ b/superset/models/sql_lab.py
@@ -502,6 +502,7 @@ class TabState(Model, AuditMixinNullable, ExtraJSONMixin):
             "template_params": self.template_params,
             "hide_left_bar": self.hide_left_bar,
             "saved_query": self.saved_query.to_dict() if self.saved_query else None,
+            "extra_json": self.extra,
         }