You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2026/09/16 20:01:03 UTC

(superset) 34/34: chore: format backported dataset API

This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch 7.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 0ec93ea42fa4372dd18c56693e86fb896c6f3da6
Author: Ville Brofeldt <vi...@gmail.com>
AuthorDate: Wed Sep 16 11:40:21 2026 -0700

    chore: format backported dataset API
---
 superset/datasets/api.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/superset/datasets/api.py b/superset/datasets/api.py
index 9e2ae21a0ab..1bb13fd23fa 100644
--- a/superset/datasets/api.py
+++ b/superset/datasets/api.py
@@ -1403,9 +1403,7 @@ class DatasetRestApi(SoftDeleteApiMixin, BaseSupersetModelRestApi):
     @safe
     @statsd_metrics
     @event_logger.log_this_with_context(
-        action=lambda self, *args, **kwargs: (
-            f"{self.__class__.__name__}.purge_impact"
-        ),
+        action=lambda self, *args, **kwargs: f"{self.__class__.__name__}.purge_impact",
         log_to_statsd=False,
     )
     def purge_impact(self, uuid: str) -> Response: