feat: implement cache invalidation api (#10761)

* Add cache endpoints

* Implement cache endpoint

* Tests and address feedback

* Set cache config

* Address feedback

* Expose only invalidate endpoint

Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
Bogdan
2020-09-15 11:17:21 -07:00
committed by GitHub
parent 838a70ea8d
commit 9c420d6efe
10 changed files with 422 additions and 27 deletions

View File

@@ -60,15 +60,6 @@ class TestDatasetApi(SupersetTestCase):
"ab_permission", "", [self.get_user("admin").id], get_main_database()
)
@staticmethod
def get_birth_names_dataset():
example_db = get_example_database()
return (
db.session.query(SqlaTable)
.filter_by(database=example_db, table_name="birth_names")
.one()
)
@staticmethod
def get_energy_usage_dataset():
example_db = get_example_database()