Skip to content

Commit ed740ee

Browse files
committed
chore: Minor example and documentation updates
1 parent 2214525 commit ed740ee

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ with DAG(
8888
) as dag:
8989
dbt_test = DbtTestOperator(
9090
task_id="dbt_test",
91-
selector="pre-run-tests",
91+
selector_name=["pre-run-tests"],
9292
)
9393

9494
dbt_seed = DbtSeedOperator(
@@ -99,7 +99,7 @@ with DAG(
9999

100100
dbt_run = DbtRunOperator(
101101
task_id="dbt_run",
102-
models=["/path/to/models"],
102+
select=["/path/to/models"],
103103
full_refresh=True,
104104
fail_fast=True,
105105
)

examples/basic_dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
task_id="dbt_run_hourly",
1717
project_dir="/path/to/my/dbt/project/",
1818
profiles_dir="~/.dbt/",
19-
models=["+tag:hourly"],
19+
select=["+tag:hourly"],
2020
exclude=["tag:deprecated"],
2121
target="production",
2222
profile="my-project",

examples/complete_dbt_workflow_dag.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
task_id="dbt_run_incremental_hourly",
4242
project_dir="/path/to/my/dbt/project/",
4343
profiles_dir="~/.dbt/",
44-
models=["tag:hourly,config.materialized:incremental"],
44+
select=["tag:hourly,config.materialized:incremental"],
4545
exclude=["tag:deprecated"],
4646
target="production",
4747
profile="my-project",
@@ -52,7 +52,7 @@
5252
task_id="dbt_run_hourly",
5353
project_dir="/path/to/my/dbt/project/",
5454
profiles_dir="~/.dbt/",
55-
models=["+tag:hourly"],
55+
select=["+tag:hourly"],
5656
exclude=["tag:deprecated,config.materialized:incremental"],
5757
target="production",
5858
profile="my-project",

examples/dbt_project_in_s3_dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
task_id="dbt_run_hourly",
1717
project_dir="s3://my-bucket/dbt/project/key/prefix/",
1818
profiles_dir="s3://my-bucket/dbt/profiles/key/prefix/",
19-
models=["+tag:hourly"],
19+
select=["+tag:hourly"],
2020
exclude=["tag:deprecated"],
2121
target="production",
2222
profile="my-project",

examples/use_dbt_artifacts_dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def process_dbt_artifacts(**context):
5959
task_id="dbt_run_daily",
6060
project_dir="/path/to/my/dbt/project/",
6161
profiles_dir="~/.dbt/",
62-
models=["+tag:daily"],
62+
select=["+tag:daily"],
6363
exclude=["tag:deprecated"],
6464
target="production",
6565
profile="my-project",

0 commit comments

Comments
 (0)