From be88cb9ba00a706dc5402e0b5311975bb013972a Mon Sep 17 00:00:00 2001 From: Beto Dealmeida Date: Wed, 2 Mar 2022 17:02:26 -0800 Subject: [PATCH] feat: show user email in dashboard API (#19004) * Feat: show user email in dashboard API * Fix test --- superset/dashboards/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py index c29eae57e..df67d8f77 100644 --- a/superset/dashboards/api.py +++ b/superset/dashboards/api.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +# pylint: disable=too-many-lines import json import logging from datetime import datetime @@ -143,6 +144,7 @@ class DashboardRestApi(BaseSupersetModelRestApi): "owners.username", "owners.first_name", "owners.last_name", + "owners.email", "roles.id", "roles.name", ]