From fb968e2913c813a895f8603342534cbc18032f7e Mon Sep 17 00:00:00 2001 From: Vitor Avila <96086495+Vitor-Avila@users.noreply.github.com> Date: Wed, 17 Jan 2024 11:12:46 -0300 Subject: [PATCH] chore(API): Include changed_by.id in Get Charts and Get Datasets API responses (#26540) --- superset/charts/api.py | 1 + superset/datasets/api.py | 1 + 2 files changed, 2 insertions(+) diff --git a/superset/charts/api.py b/superset/charts/api.py index 191f09c66e7b4..436dffe615c1c 100644 --- a/superset/charts/api.py +++ b/superset/charts/api.py @@ -159,6 +159,7 @@ def ensure_thumbnails_enabled(self) -> Optional[Response]: "cache_timeout", "changed_by.first_name", "changed_by.last_name", + "changed_by.id", "changed_by_name", "changed_on_delta_humanized", "changed_on_dttm", diff --git a/superset/datasets/api.py b/superset/datasets/api.py index bc4a42e58ee7e..809074e10ddb2 100644 --- a/superset/datasets/api.py +++ b/superset/datasets/api.py @@ -108,6 +108,7 @@ class DatasetRestApi(BaseSupersetModelRestApi): "changed_by_name", "changed_by.first_name", "changed_by.last_name", + "changed_by.id", "changed_on_utc", "changed_on_delta_humanized", "default_endpoint",