mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Update api.py (#20711)
This commit is contained in:
parent
2cb4fd31f1
commit
5285f3d640
@ -204,7 +204,7 @@ class DatasetRestApi(BaseSupersetModelRestApi):
|
|||||||
"sql": [DatasetIsNullOrEmptyFilter],
|
"sql": [DatasetIsNullOrEmptyFilter],
|
||||||
"id": [DatasetCertifiedFilter],
|
"id": [DatasetCertifiedFilter],
|
||||||
}
|
}
|
||||||
search_columns = ["id", "database", "owners", "sql", "table_name"]
|
search_columns = ["id", "database", "owners", "schema", "sql", "table_name"]
|
||||||
filter_rel_fields = {"database": [["id", DatabaseFilter, lambda: []]]}
|
filter_rel_fields = {"database": [["id", DatabaseFilter, lambda: []]]}
|
||||||
allowed_rel_fields = {"database", "owners"}
|
allowed_rel_fields = {"database", "owners"}
|
||||||
allowed_distinct_fields = {"schema"}
|
allowed_distinct_fields = {"schema"}
|
||||||
|
Loading…
Reference in New Issue
Block a user