eschutho commented on code in PR #41549:
URL: https://github.com/apache/superset/pull/41549#discussion_r3583464943


##########
superset/config.py:
##########
@@ -990,6 +990,12 @@ class D3TimeFormat(TypedDict, total=False):
 # This is merely a default.
 FEATURE_FLAGS: dict[str, bool] = {}
 
+# Retention policy for soft-deleted dashboards, charts, and datasets. A value 
of
+# zero disables scheduled purging. Dry-run mode is enabled by default so 
operators
+# must explicitly opt in to irreversible deletion.
+SUPERSET_SOFT_DELETE_RETENTION_DAYS: int = 30
+SUPERSET_SOFT_DELETE_PURGE_DRY_RUN: bool = True

Review Comment:
   Nit, but we could probably remove Superset from the name of this config. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to