Skip to content

Commit

Permalink
#1134 remove data-sources tag from non-morbius DAGs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielwol committed Jan 15, 2025
1 parent 3b57047 commit fe6042f
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion dags/bluetooth_check_readers_temp.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def format_br_list(returned_list):
default_args=default_args,
schedule='0 8 * * *',
catchup=False,
tags=["bdit_data-sources", 'bluetooth', 'data_checks']
tags=['bluetooth', 'data_checks']
)
def blip_pipeline():
## Tasks ##
Expand Down
2 changes: 1 addition & 1 deletion dags/citywide_tti_aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
default_args=default_args,
schedule=None, # gets triggered by HERE dag
doc_md = doc_md,
tags=["bdit_data-sources", "HERE", "aggregation"],
tags=["HERE", "aggregation"],
catchup=False
)

Expand Down
2 changes: 1 addition & 1 deletion dags/ecocounter_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
schedule='5 10 * * MON', # Run at 10:05 AM on Monday
catchup=True,
template_searchpath=os.path.join(repo_path, 'volumes/ecocounter/data_checks'),
tags=["bdit_data-sources", "ecocounter", "data_checks", "weekly"],
tags=["ecocounter", "data_checks", "weekly"],
doc_md=DOC_MD
)
def ecocounter_check_dag():
Expand Down
2 changes: 1 addition & 1 deletion dags/eoy_create_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
dag_id=DAG_NAME,
default_args=default_args,
schedule='0 0 1 12 *', # At 00:00 on 1st in December.
tags=["bdit_data-sources", "partition_create", "yearly"],
tags=["partition_create", "yearly"],
catchup=False,
doc_md=__doc__
)
Expand Down
2 changes: 1 addition & 1 deletion dags/miovision_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
schedule='0 4 * * MON', # Run at 4 AM on Monday
catchup=False,
template_searchpath=os.path.join(repo_path,'volumes/miovision/sql/data_checks'),
tags=["bdit_data-sources", "miovision", "data_checks", "weekly"],
tags=["miovision", "data_checks", "weekly"],
doc_md=DOC_MD
)
def miovision_check_dag():
Expand Down
2 changes: 1 addition & 1 deletion dags/miovision_hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
default_args=default_args,
schedule='0 2 * * *',
catchup=False,
tags=["bdit_data-sources", "miovision", "data_pull"],
tags=["miovision", "data_pull"],
doc_md=DOC_MD
)
def pull_miovision_dag():
Expand Down
2 changes: 1 addition & 1 deletion dags/miovision_pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
items={"type": "number"},
)
},
tags=["bdit_data-sources", "miovision", "data_pull", "partition_create", "data_checks"],
tags=["miovision", "data_pull", "partition_create", "data_checks"],
doc_md=DOC_MD
)
def pull_miovision_dag():
Expand Down
2 changes: 1 addition & 1 deletion dags/pull_here.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
schedule='0 17 * * * ' ,
catchup=False,
doc_md = doc_md,
tags=["bdit_data-sources", "HERE", "data_pull"]
tags=["HERE", "data_pull"]
)

def pull_here():
Expand Down
2 changes: 1 addition & 1 deletion dags/pull_here_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
schedule='30 10 * * *' ,
catchup=False,
doc_md = doc_md,
tags=["bdit_data-sources", "HERE", "data_pull"]
tags=["HERE", "data_pull"]
)

def pull_here_path():
Expand Down
2 changes: 1 addition & 1 deletion dags/refresh_wys_monthly.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def last_month(ds):
with DAG(dag_id = dag_name,
default_args=default_args,
max_active_runs=1,
tags=["bdit_data-sources", "wys", "aggregation", "monthly"],
tags=["wys", "aggregation", "monthly"],
doc_md = DOC_MD,
user_defined_macros={
'last_month' : last_month
Expand Down
2 changes: 1 addition & 1 deletion dags/replicator_table_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#loosely coupled with the two replicator DAGs which are externally triggered at 430am
schedule='0 4 * * *',
doc_md=DOC_MD,
tags=["bdit_data-sources", "replicator", "data_checks"]
tags=["replicator", "data_checks"]
)
def replicator_DAG():

Expand Down
2 changes: 1 addition & 1 deletion dags/replicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def create_replicator_dag(dag_id, short_name, tables_var, conn, doc_md, default_
max_active_tasks=5,
schedule=None, #triggered externally
doc_md=doc_md,
tags=["bdit_data-sources", short_name, "replicator"]
tags=[short_name, "replicator"]
)
def replicator_DAG():
f"""The main function of the {short_name} DAG."""
Expand Down
2 changes: 1 addition & 1 deletion dags/tti_aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
default_args=default_args,
schedule=None, # gets triggered by HERE dag
doc_md = doc_md,
tags=["bdit_data-sources", "HERE", "aggregation"],
tags=["HERE", "aggregation"],
catchup=False
)

Expand Down
2 changes: 1 addition & 1 deletion dags/vz_google_sheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
items={"type": "number"},
)
},
tags=["bdit_data-sources", "Vision Zero", "google_sheets"]
tags=["Vision Zero", "google_sheets"]
)
def get_vz_data():
"""The main function of the SSZ DAG."""
Expand Down
2 changes: 1 addition & 1 deletion dags/weather_pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
default_args=default_args,
schedule='0 8 * * *', #Historical weather is available at 1000UTC which is 6AM EDT and 5AM EST: https://climate.weather.gc.ca/FAQ_e.html#Q17
catchup=False,
tags=["bdit_data-sources", 'weather', 'data_pull'],
tags=['weather', 'data_pull'],
template_searchpath=os.path.join(repo_path, 'weather/sql'),
doc_md=__doc__
)
Expand Down
2 changes: 1 addition & 1 deletion dags/wys_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
max_active_runs=1,
template_searchpath=os.path.join(repo_path,'dags/sql'),
schedule='0 18 * * *', # Run at 6:00 PM local time every day
tags=["bdit_data-sources", "wys", "data_checks"],
tags=["wys", "data_checks"],
doc_md=DOC_MD
)
def wys_check_dag():
Expand Down
2 changes: 1 addition & 1 deletion dags/wys_pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
max_active_runs=5,
template_searchpath=os.path.join(repo_path,'dags/sql'),
schedule='0 17 * * *', # Run at 5:00 PM local time every day
tags=["bdit_data-sources", "wys", "data_pull", "partition_create", "data_checks", "google_sheets"],
tags=["wys", "data_pull", "partition_create", "data_checks", "google_sheets"],
doc_md=DOC_MD
)
def pull_wys_dag():
Expand Down

0 comments on commit fe6042f

Please sign in to comment.