From b8ceeecd7e0e47fac21efd379d562f5149bfce44 Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 6 Aug 2024 17:34:13 -0500 Subject: [PATCH 1/2] Fix comment --- dags/atd_knack_flashing_beacons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/atd_knack_flashing_beacons.py b/dags/atd_knack_flashing_beacons.py index 1a45228c..540ddcac 100644 --- a/dags/atd_knack_flashing_beacons.py +++ b/dags/atd_knack_flashing_beacons.py @@ -63,7 +63,7 @@ with DAG( dag_id="atd_knack_flashing_beacons", - description="Load school beacons (view_3086) records from Knack to Postgrest to AGOL", + description="Load flashing beacons (view_1563) records from Knack to Postgrest to AGOL", default_args=DEFAULT_ARGS, schedule_interval="15 10 * * *" if DEPLOYMENT_ENVIRONMENT == "production" else None, tags=["repo:atd-knack-services", "knack", "socrata", "agol", "data-tracker"], From 9b59f80a5dc9308235e9687a7fc9ae528d2d21f5 Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 6 Aug 2024 17:44:23 -0500 Subject: [PATCH 2/2] Add the default docker conn while I'm in here --- dags/atd_knack_flashing_beacons.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dags/atd_knack_flashing_beacons.py b/dags/atd_knack_flashing_beacons.py index 540ddcac..ec5872f0 100644 --- a/dags/atd_knack_flashing_beacons.py +++ b/dags/atd_knack_flashing_beacons.py @@ -80,6 +80,7 @@ t1 = DockerOperator( task_id="atd_knack_flashing_beacons_to_postgrest", image=docker_image, + docker_conn_id="docker_default", auto_remove=True, command=f"./atd-knack-services/services/records_to_postgrest.py -a {app_name} -c {container} {date_filter_arg}", environment=env_vars, @@ -91,6 +92,7 @@ t2 = DockerOperator( task_id="atd_knack_flashing_beacons_to_socrata", image=docker_image, + docker_conn_id="docker_default", auto_remove=True, command=f"./atd-knack-services/services/records_to_socrata.py -a {app_name} -c {container} {date_filter_arg}", environment=env_vars, @@ -101,6 +103,7 @@ t3 = DockerOperator( task_id="atd_knack_flashing_beacons_to_agol", image=docker_image, + docker_conn_id="docker_default", auto_remove=True, command=f"./atd-knack-services/services/records_to_agol.py -a {app_name} -c {container} {date_filter_arg}", environment=env_vars,