dpgaspar commented on a change in pull request #13980:
URL: https://github.com/apache/superset/pull/13980#discussion_r608864972



##########
File path: superset/config.py
##########
@@ -1125,9 +1128,9 @@ class CeleryConfig:  # pylint: 
disable=too-few-public-methods
 GLOBAL_ASYNC_QUERIES_TRANSPORT = "polling"
 GLOBAL_ASYNC_QUERIES_POLLING_DELAY = 500
 
-# It's possible to add a dataset health check logic which is specific to your 
system.
-# It will get executed each time when user open a chart's explore view.
-DATASET_HEALTH_CHECK = None
+# A SQL dataset health check. Note if enabled the callable should be cached to 
aid with
+# performance.
+DATASET_HEALTH_CHECK: Optional[Callable[["SqlaTable"], str]] = None

Review comment:
       Would be nice do add an health check callable example here, or add it to 
the docs




-- 
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.

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