mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[SQLLab] Fix, database api unlimited page size v2 (#8002)
* [database] Fix, Removes the limit for the page size, Bump FAB to 2.1.8 Old FAB API had no limits by default, this will keep this behaviour but only for this endpoint * [sqllab] Add test for database API * [sqllab] Add test for database API * [sqllab] Include page zero on request * [sqllab] Fix, Black and requirements * [sqllab] Make database API return unlimited results * [sqllab] just a test * [sqllab] Bump FAB to 2.1.9 * [sqllab] Remove unused import
This commit is contained in:
committed by
Maxime Beauchemin
parent
2f2a3b79b4
commit
73cdad2375
@@ -50,6 +50,8 @@ class DatabaseRestApi(DatabaseMixin, ModelRestApi):
|
||||
"allows_subquery",
|
||||
"backend",
|
||||
]
|
||||
# Removes the local limit for the page size
|
||||
max_page_size = -1
|
||||
|
||||
|
||||
appbuilder.add_api(DatabaseRestApi)
|
||||
|
||||
Reference in New Issue
Block a user