diff --git a/superset/charts/api.py b/superset/charts/api.py index f8f59c875b51..68b6f2cb0c90 100644 --- a/superset/charts/api.py +++ b/superset/charts/api.py @@ -206,6 +206,7 @@ def ensure_thumbnails_enabled(self) -> Optional[Response]: "tags.id", "tags.name", "tags.type", + "uuid", ] list_select_columns = list_columns + ["changed_by_fk", "changed_on"] order_columns = [ diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py index f5979095e250..c7becfe8a16a 100644 --- a/superset/dashboards/api.py +++ b/superset/dashboards/api.py @@ -217,6 +217,7 @@ class DashboardRestApi(BaseSupersetModelRestApi): "tags.id", "tags.name", "tags.type", + "uuid", ] list_select_columns = list_columns + ["changed_on", "created_on", "changed_by_fk"] diff --git a/superset/datasets/api.py b/superset/datasets/api.py index b41f6395bd72..2cb3dc3f1bef 100644 --- a/superset/datasets/api.py +++ b/superset/datasets/api.py @@ -134,6 +134,7 @@ class DatasetRestApi(BaseSupersetModelRestApi): "schema", "sql", "table_name", + "uuid", ] list_select_columns = list_columns + ["changed_on", "changed_by_fk"] order_columns = [ diff --git a/tests/integration_tests/datasets/api_tests.py b/tests/integration_tests/datasets/api_tests.py index 4f6aacfca6fe..20642391406c 100644 --- a/tests/integration_tests/datasets/api_tests.py +++ b/tests/integration_tests/datasets/api_tests.py @@ -253,6 +253,7 @@ def test_get_dataset_list(self): "schema", "sql", "table_name", + "uuid", ] assert sorted(list(response["result"][0].keys())) == expected_columns # noqa: C414