Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion dev/dags/basic_cosmos_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
start_date=datetime(2023, 1, 1),
catchup=False,
dag_id="basic_cosmos_dag",
default_args={"retries": 2},
default_args={"retries": 0},
)
# [END local_example]
2 changes: 1 addition & 1 deletion dev/dags/basic_cosmos_dag_full_module_path_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
start_date=datetime(2023, 1, 1),
catchup=False,
dag_id="basic_cosmos_dag_full_module_path_imports",
default_args={"retries": 2},
default_args={"retries": 0},
)
# [END local_example]
4 changes: 2 additions & 2 deletions dev/dags/basic_cosmos_task_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
execution_config=shared_execution_config,
operator_args={"install_deps": True},
profile_config=profile_config,
default_args={"retries": 2},
default_args={"retries": 0},
)

orders = DbtTaskGroup(
Expand All @@ -68,7 +68,7 @@
execution_config=shared_execution_config,
operator_args={"install_deps": True},
profile_config=profile_config,
default_args={"retries": 2},
default_args={"retries": 0},
)

post_dbt = EmptyOperator(task_id="post_dbt")
Expand Down
2 changes: 1 addition & 1 deletion dev/dags/cosmos_callback_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
start_date=datetime(2023, 1, 1),
catchup=False,
dag_id="cosmos_callback_dag",
default_args={"retries": 2},
default_args={"retries": 0},
)
# [END cosmos_callback_example]
2 changes: 1 addition & 1 deletion dev/dags/cosmos_manifest_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
schedule="@daily",
start_date=datetime(2023, 1, 1),
catchup=False,
default_args={"retries": 2},
default_args={"retries": 0},
):
pre_dbt = EmptyOperator(task_id="pre_dbt")

Expand Down
2 changes: 1 addition & 1 deletion dev/dags/cosmos_profile_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
),
),
operator_args={"install_deps": True},
default_args={"retries": 2},
default_args={"retries": 0},
)

post_dbt = EmptyOperator(task_id="post_dbt")
Expand Down
2 changes: 1 addition & 1 deletion dev/dags/cosmos_seed_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
doc_md=__doc__,
catchup=False,
max_active_runs=1,
default_args={"owner": "01-EXTRACT", "retries": 2},
default_args={"owner": "01-EXTRACT", "retries": 0},
) as dag:
with TaskGroup(group_id="drop_seeds_if_exist") as drop_seeds:
for seed in ["raw_customers", "raw_payments", "raw_orders"]:
Expand Down
2 changes: 1 addition & 1 deletion dev/dags/dbt_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
schedule="@daily",
doc_md=__doc__,
catchup=False,
default_args={"retries": 2},
default_args={"retries": 0},
) as dag:
generate_dbt_docs_aws = DbtDocsS3Operator(
task_id="generate_dbt_docs_aws",
Expand Down
2 changes: 1 addition & 1 deletion dev/dags/example_cosmos_dbt_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
start_date=datetime(2023, 1, 1),
catchup=False,
dag_id="example_cosmos_dbt_build",
default_args={"retries": 2},
default_args={"retries": 0},
)
# [END build_example]
2 changes: 1 addition & 1 deletion dev/dags/example_cosmos_python_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
start_date=datetime(2023, 1, 1),
catchup=False,
dag_id="example_cosmos_python_models",
default_args={"retries": 2},
default_args={"retries": 0},
)
# [END example_cosmos_python_models]
2 changes: 1 addition & 1 deletion dev/dags/example_dbt_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
start_date=datetime(2023, 1, 1),
catchup=False,
dag_id="dbt_deps_example",
default_args={"retries": 2},
default_args={"retries": 0},
)
2 changes: 1 addition & 1 deletion dev/dags/example_model_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
start_date=datetime(2023, 1, 1),
catchup=False,
dag_id="example_model_version",
default_args={"retries": 2},
default_args={"retries": 0},
)
# [END local_example]
2 changes: 1 addition & 1 deletion dev/dags/example_source_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
start_date=datetime(2024, 1, 1),
catchup=False,
dag_id="source_rendering_dag",
default_args={"retries": 2},
default_args={"retries": 0},
on_warning_callback=lambda context: print(context),
)
# [END cosmos_source_node_example]
2 changes: 1 addition & 1 deletion dev/dags/example_tasks_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
start_date=datetime(2023, 1, 1),
catchup=False,
dag_id="customized_cosmos_dag",
default_args={"retries": 2},
default_args={"retries": 0},
) as dag:
# Walk the dbt graph
for unique_id, dbt_node in dag.dbt_graph.filtered_nodes.items():
Expand Down
2 changes: 1 addition & 1 deletion dev/dags/user_defined_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
dbt_ls_path=DBT_LS_PATH,
),
operator_args={"append_env": True, "install_deps": True},
default_args={"retries": 2},
default_args={"retries": 0},
)

post_dbt = EmptyOperator(task_id="post_dbt")
Expand Down