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

This commit is contained in:
Beto Dealmeida
2024-01-12 11:18:39 -05:00
committed by GitHub
parent 494068b632
commit e36c014290
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"}