Manifest Checks: Seeds#
Note
The below checks require manifest.json to be present.
Classes:
| Name | Description |
|---|---|
CheckSeedDescriptionPopulated |
Seeds must have a populated description. |
CheckSeedNames |
Seed must have a name that matches the supplied regex. |
CheckSeedDescriptionPopulated
#
Seeds must have a populated description.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
min_description_length
|
int | None
|
Minimum length required for the description to be considered populated. |
required |
Receives at execution time:
| Name | Type | Description |
|---|---|---|
seed |
DbtBouncerSeedBase
|
The DbtBouncerSeedBase object to check. |
Other Parameters (passed via config file):
| Name | Type | Description |
|---|---|---|
description |
str | None
|
Description of what the check does and why it is implemented. |
exclude |
str | None
|
Regex pattern to match the seed path. Seed paths that match the pattern will not be checked. |
include |
str | None
|
Regex pattern to match the seed path. Only seed paths that match the pattern will be checked. |
severity |
Literal['error', 'warn'] | None
|
Severity level of the check. Default: |
Example(s):
manifest_checks:
- name: check_seed_description_populated
min_description_length: 25 # Setting a stricter requirement for description length
Source code in src/dbt_bouncer/checks/manifest/check_seeds.py
CheckSeedNames
#
Seed must have a name that matches the supplied regex.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
seed_name_pattern
|
str
|
Regexp the seed name must match. |
required |
Receives at execution time:
| Name | Type | Description |
|---|---|---|
seed |
DbtBouncerSeedBase
|
The DbtBouncerSeedBase object to check. |
Other Parameters (passed via config file):
| Name | Type | Description |
|---|---|---|
description |
str | None
|
Description of what the check does and why it is implemented. |
exclude |
str | None
|
Regex pattern to match the seed path. Seed paths that match the pattern will not be checked. |
include |
str | None
|
Regex pattern to match the seed path. Only seed paths that match the pattern will be checked. |
severity |
Literal['error', 'warn'] | None
|
Severity level of the check. Default: |
Example(s):