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 - yaml invalid string #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,13 @@ subsitution in a dictionary representation.

For example, to run only changed models using dbt's Slim CI feature:
```bash
dbt run-operation required_tests --args "{'models':'$(dbt list -m state:modified --state <filepath>)'}"
dbt run-operation required_tests --args '{models: $(dbt list -m state:modified --state <filepath>)}'
```

Alternatively, a space
delimited string of model names will work as well:
```bash
dbt run-operation required_tests --args "{'models':'model1 model2 model3'}"
dbt run-operation required_tests --args '{models: model1 model2 model3}'
```

### required_tests ([source](macros/required_tests.sql))
Expand All @@ -260,7 +260,7 @@ Validates that models meet the `+required_tests` configurations applied in

Usage:
```
dbt run-operation required_tests [--args "{'models': '<space_delimited_models>'}"]
dbt run-operation required_tests [--args '{models: <space_delimited_models>}']
```

### required_docs ([source](macros/required_tests.sql))
Expand All @@ -270,7 +270,7 @@ Validates that models meet the `+required_docs` configurations applied in

Usage:
```
dbt run-operation required_docs [--args "{'models': '<space_delimited_models>'}"]
dbt run-operation required_docs [--args '{models: <space_delimited_models>}']
```
**Note:** Run this command _after_ `dbt run`: only models that already exist in
the warehouse can be validated for columns that are missing from the model `.yml`.
Expand Down