Manifest Checks: Semantic Models#
+Note
+The below checks require manifest.json
to be present.
+ check_semantic_model_based_on_non_public_models
+
+#
+
+
+ Semantic models should be based on public models only.
+ + +Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
models |
+
+ List[DbtBouncerModel]
+ |
+
+
+
+ List of DbtBouncerModel objects parsed from |
+ + required + | +
semantic_model |
+
+ DbtBouncerSemanticModel
+ |
+
+
+
+ The DbtBouncerSemanticModel object to check. + |
+ + required + | +
Other Parameters (passed via config file):
+Name | +Type | +Description | +
---|---|---|
exclude |
+
+ Optional[str]
+ |
+
+
+
+ Regex pattern to match the semantic model path (i.e the .yml file where the semantic model is configured). Semantic model paths that match the pattern will not be checked. + |
+
include |
+
+ Optional[str]
+ |
+
+
+
+ Regex pattern to match the semantic model path (i.e the .yml file where the semantic model is configured). Only semantic model paths that match the pattern will be checked. + |
+
severity |
+
+ Optional[Literal['error', 'warn']]
+ |
+
+
+
+ Severity level of the check. Default: |
+
Example(s): +
+ +