You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2025/06/23 17:29:17 UTC
(superset) branch master updated: fix(api): Added uuid as a valid search column (#33833)
This is an automated email from the ASF dual-hosted git repository.
rusackas 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 4dc3dd0942 fix(api): Added uuid as a valid search column (#33833)
4dc3dd0942 is described below
commit 4dc3dd0942cffb4811f7546c596e6a2e35d8f8a6
Author: Paul Rhodes <wi...@users.noreply.github.com>
AuthorDate: Mon Jun 23 18:29:11 2025 +0100
fix(api): Added uuid as a valid search column (#33833)
---
superset/charts/api.py | 1 +
superset/dashboards/api.py | 1 +
superset/datasets/api.py | 1 +
superset/queries/api.py | 1 +
4 files changed, 4 insertions(+)
diff --git a/superset/charts/api.py b/superset/charts/api.py
index 68b6f2cb0c..7a15d6e5c3 100644
--- a/superset/charts/api.py
+++ b/superset/charts/api.py
@@ -236,6 +236,7 @@ class ChartRestApi(BaseSupersetModelRestApi):
"slice_name",
"viz_type",
"tags",
+ "uuid",
]
base_order = ("changed_on", "desc")
base_filters = [["id", ChartFilter, lambda: []]]
diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py
index 65d8fbd662..4b7cb41a10 100644
--- a/superset/dashboards/api.py
+++ b/superset/dashboards/api.py
@@ -254,6 +254,7 @@ class DashboardRestApi(BaseSupersetModelRestApi):
"roles",
"slug",
"tags",
+ "uuid",
)
search_filters = {
"dashboard_title": [DashboardTitleOrSlugFilter],
diff --git a/superset/datasets/api.py b/superset/datasets/api.py
index 9b84885b4c..098e0f6828 100644
--- a/superset/datasets/api.py
+++ b/superset/datasets/api.py
@@ -277,6 +277,7 @@ class DatasetRestApi(BaseSupersetModelRestApi):
"table_name",
"created_by",
"changed_by",
+ "uuid",
]
allowed_rel_fields = {"database", "owners", "created_by", "changed_by"}
allowed_distinct_fields = {"catalog", "schema"}
diff --git a/superset/queries/api.py b/superset/queries/api.py
index 7e383e95bc..d29d52fd36 100644
--- a/superset/queries/api.py
+++ b/superset/queries/api.py
@@ -162,6 +162,7 @@ class QueryRestApi(BaseSupersetModelRestApi):
"user",
"start_time",
"sql_editor_id",
+ "uuid",
]
allowed_rel_fields = {"database", "user"}