fix(database): allow filtering by UUID (#26469)

(cherry picked from commit e36c014290)
This commit is contained in:
Beto Dealmeida
2024-01-12 11:18:39 -05:00
committed by Michael S. Molina
parent 3fe4d68b75
commit 36846e9c2b
2 changed files with 41 additions and 0 deletions

View File

@@ -205,6 +205,7 @@ class DatabaseRestApi(BaseSupersetModelRestApi):
"changed_by",
"database_name",
"expose_in_sqllab",
"uuid",
]
search_filters = {"allow_file_upload": [DatabaseUploadEnabledFilter]}
allowed_rel_fields = {"changed_by", "created_by"}