Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix indentation in dbt tests alerts code examples #1747

Conversation

japerry911
Copy link
Contributor

Hello team,

I was receiving the follow error with current indentation examples:

Parsing Error
  Invalid test config given in models/staging/airbyte_salesforce/stg__airbyte_salesforce_account.yml:
        test definition dictionary must have exactly one key, got [('not_null', None), ('meta', {'description': 'Not NULL test for Fax.'})] instead (2 keys)
        @: UnparsedModelUpdate(original_file_path='mode...ne)

I have updated the applicable spots.

Also, when should tests be updated to data_tests in docs? I know we use data_tests now with 1.8.x dbt core.

Thank you 🚀

@haritamar haritamar merged commit 61bee5a into elementary-data:master Nov 18, 2024
2 checks passed
@haritamar
Copy link
Collaborator

Thanks for the fix @japerry911 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants