Manifest Checks: Semantic Models#
Note
The below checks require manifest.json
to be present.
Classes:
Name | Description |
---|---|
CheckSemanticModelOnNonPublicModels |
Semantic models should be based on public models only. |
CheckSemanticModelOnNonPublicModels
#
Semantic models should be based on public models only.
Receives at execution time:
Name | Type | Description |
---|---|---|
models |
List[DbtBouncerModelBase]
|
List of DbtBouncerModelBase objects parsed from |
semantic_model |
DbtBouncerSemanticModelBase
|
The DbtBouncerSemanticModelBase object to check. |
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):