From 230f8fc424cef4c0107dacc7c04b2c7e20162a06 Mon Sep 17 00:00:00 2001 From: FGrobelny <150029280+FGrobelny@users.noreply.github.com> Date: Mon, 6 Nov 2023 13:46:00 +0100 Subject: [PATCH 1/2] (fix) Trino: allow impersonate_user flag to be imported --- superset/models/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/superset/models/core.py b/superset/models/core.py index f6e4b972b48db..2686bf536bf78 100755 --- a/superset/models/core.py +++ b/superset/models/core.py @@ -185,6 +185,7 @@ class Database( "is_managed_externally", "external_url", "encrypted_extra", + "impersonate_user" ] export_children = ["tables"] From f55a37e5d825429c90e27b09fea66ca407c6d7bc Mon Sep 17 00:00:00 2001 From: FGrobelny <150029280+FGrobelny@users.noreply.github.com> Date: Mon, 6 Nov 2023 19:30:19 +0100 Subject: [PATCH 2/2] formatting Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com> --- superset/models/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/models/core.py b/superset/models/core.py index 2686bf536bf78..49c1c3e6f1be1 100755 --- a/superset/models/core.py +++ b/superset/models/core.py @@ -185,7 +185,7 @@ class Database( "is_managed_externally", "external_url", "encrypted_extra", - "impersonate_user" + "impersonate_user", ] export_children = ["tables"]