Skip to content

Commit

Permalink
Update stats
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Dec 9, 2024
1 parent 220896c commit 0329bda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/dags/example_cosmos_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def convert_exposure(dag: DAG, task_group: TaskGroup, node: DbtNode, **kwargs):
DbtResourceType("source"): convert_source, # known dbt node type to Cosmos (part of DbtResourceType)
DbtResourceType("exposure"): convert_exposure, # dbt node type new to Cosmos (will be added to DbtResourceType)
},
dbt_deps=True,
)

project_config = ProjectConfig(
Expand All @@ -85,5 +84,8 @@ def convert_exposure(dag: DAG, task_group: TaskGroup, node: DbtNode, **kwargs):
start_date=datetime(2023, 1, 1),
catchup=False,
dag_id="example_cosmos_sources",
operator_args={
"install_deps": True,
},
)
# [END custom_dbt_nodes]

0 comments on commit 0329bda

Please sign in to comment.