mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
chore: improve analytics (#11714)
* chore: improve analytics * lint * log more events, add note in UPDATING.md * handling base class * more events\! * get ref through * right before @expose * fix context * touchups
This commit is contained in:
committed by
GitHub
parent
9215a31fa2
commit
0504cf1a00
@@ -45,10 +45,10 @@ class CacheRestApi(BaseSupersetModelRestApi):
|
||||
openapi_spec_component_schemas = (CacheInvalidationRequestSchema,)
|
||||
|
||||
@expose("/invalidate", methods=["POST"])
|
||||
@event_logger.log_this
|
||||
@protect()
|
||||
@safe
|
||||
@statsd_metrics
|
||||
@event_logger.log_this_with_context(log_to_statsd=False)
|
||||
def invalidate(self) -> Response:
|
||||
"""
|
||||
Takes a list of datasources, finds the associated cache records and
|
||||
|
||||
Reference in New Issue
Block a user