wellcheck.run_full_wellcheck
wellcheck_run_full_wellcheckRun a full health check across dashboards and data models to detect structural issues, widget count anomalies, and pivot field problems. Limit scope by specifying asset references to avoid slow SQL.
Instructions
Run a composite "full" wellcheck across dashboards and data models. This method is a convenience wrapper that orchestrates multiple dashboard-level and data-model-level checks and returns a structured report that groups their results. It additionally delegates unused-column analysis to AccessManagement.get_unused_columns_bulk when an AccessManagement instance is configured on this WellCheck (the default constructor configures one); otherwise the unused_columns section is an empty list and a warning is logged.
Returns: dict A dictionary with two top-level sections: - "dashboards": { "structure": [...], "widget_counts": [...], "pivot_widget_fields": [...], } - "datamodels": { "custom_tables": [...], "island_tables": [...], …
Can be slow: the m2m check runs real aggregate SQL. Scope it with the dashboards/datamodels parameters whenever the user named specific assets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboards | No | One or more dashboard references to analyze. Each reference can be: - a Sisense dashboard ID, or - a dashboard title (name). At runtime this parameter is tolerant of a single string and will normalize it to a one-element list. | |
| datamodels | No | One or more data model references to analyze. Each reference can be: - a data model ID, or - a data model title (name). At runtime this parameter is tolerant of a single string and will normalize it to a one-element list. | |
| max_pivot_fields | No | Threshold used by the pivot-fields check. Any pivot widget with more than this number of fields is flagged. |