mirror of https://github.com/apache/superset.git
[database] [log] Fix, Limit the amount of info on response (#8918)
This commit is contained in:
parent
1dbf17bebb
commit
4f8bf2b04d
|
@ -53,6 +53,8 @@ class DatabaseRestApi(DatabaseMixin, ModelRestApi):
|
|||
"allows_cost_estimate",
|
||||
"backend",
|
||||
]
|
||||
show_columns = list_columns
|
||||
|
||||
# Removes the local limit for the page size
|
||||
max_page_size = -1
|
||||
validators_columns = {"sqlalchemy_uri": sqlalchemy_uri_validator}
|
||||
|
|
|
@ -38,6 +38,7 @@ class LogRestApi(LogMixin, ModelRestApi):
|
|||
resource_name = "log"
|
||||
allow_browser_login = True
|
||||
list_columns = ("user.username", "action", "dttm")
|
||||
show_columns = list_columns
|
||||
|
||||
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue