Skip to content

Commit

Permalink
Remove unused library imports, update dbt task default
Browse files Browse the repository at this point in the history
  • Loading branch information
sydneynotthecity committed Nov 11, 2024
1 parent b29125b commit 8e889ee
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 13 deletions.
3 changes: 0 additions & 3 deletions dags/dbt_data_quality_alerts_dag.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
from datetime import datetime

from airflow import DAG
from airflow.operators.empty import EmptyOperator
from kubernetes.client import models as k8s
from stellar_etl_airflow.build_dbt_task import dbt_task
from stellar_etl_airflow.build_elementary_slack_alert_task import elementary_task
from stellar_etl_airflow.default import (
alert_sla_miss,
get_default_dag_args,
init_sentry,
)
Expand Down
3 changes: 0 additions & 3 deletions dags/dbt_recency_tests_dag.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
from datetime import datetime

from airflow import DAG
from airflow.operators.empty import EmptyOperator
from kubernetes.client import models as k8s
from stellar_etl_airflow.build_dbt_task import dbt_task
from stellar_etl_airflow.build_elementary_slack_alert_task import elementary_task
from stellar_etl_airflow.default import (
alert_sla_miss,
get_default_dag_args,
init_sentry,
)
Expand Down
3 changes: 0 additions & 3 deletions dags/dbt_singular_tests_dag.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
from datetime import datetime

from airflow import DAG
from airflow.operators.empty import EmptyOperator
from kubernetes.client import models as k8s
from stellar_etl_airflow.build_dbt_task import dbt_task
from stellar_etl_airflow.build_elementary_slack_alert_task import elementary_task
from stellar_etl_airflow.default import (
alert_sla_miss,
get_default_dag_args,
init_sentry,
)
Expand Down
5 changes: 3 additions & 2 deletions dags/dbt_stellar_marts_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
partnership_assets_task = dbt_task(dag, tag="partnership_assets")
history_assets = dbt_task(dag, tag="history_assets")
soroban = dbt_task(dag, tag="soroban")
snapshot_state = dbt_task(dag, tag="snapshot_state")
# Disable snapshot state tables because they're broken
# snapshot_state = dbt_task(dag, tag="snapshot_state")
# Disable releveant_asset_trades due to bugs in SCD tables
# relevant_asset_trades = dbt_task(dag, tag="relevant_asset_trades")

Expand All @@ -63,5 +64,5 @@
wait_on_dbt_enriched_base_tables >> partnership_assets_task
wait_on_dbt_enriched_base_tables >> history_assets
wait_on_dbt_enriched_base_tables >> soroban
wait_on_dbt_enriched_base_tables >> snapshot_state
# wait_on_dbt_enriched_base_tables >> snapshot_state
# wait_on_dbt_enriched_base_tables >> relevant_asset_trades
1 change: 0 additions & 1 deletion dags/dbt_stellar_marts_mgi_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from stellar_etl_airflow.build_cross_dependency_task import build_cross_deps
from stellar_etl_airflow.build_dbt_task import dbt_task
from stellar_etl_airflow.default import (
alert_sla_miss,
get_default_dag_args,
init_sentry,
)
Expand Down
2 changes: 1 addition & 1 deletion dags/stellar_etl_airflow/build_dbt_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def dbt_task(
model_name=None,
tag=None,
flag="select",
operator="",
operator="+",
command_type="build",
excluded=None,
resource_cfg="default",
Expand Down

0 comments on commit 8e889ee

Please sign in to comment.