-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
When using dbt_constraints.foreign_key tests, I am receiving the deprecation message below:
[WARNING][MissingArgumentsPropertyInGenericTestDeprecation]: Deprecated
functionality
Found top-level arguments to test `dbt_constraints.foreign_key` defined on
'model_name' in package 'dbt_project_name'
(models/folder/sub_folder/docs/model_name.yml). Arguments to
generic tests should be nested under the `arguments` property.
When adding the arguments property to the test as outlined in the dbt documentation, the dbt_constraints.foreign_key throws an error since it doesn't align with the previous test format supported by dbt. Here is the original documentation that I have found from dbt on this update.
This is not failing any models, but I recommend addressing this so users do not see the deprecation notice when using your test/constraint package. 🙃
Thank you for your help, and love the package!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels