Skip to content

Commit

Permalink
#1143 depends_on_past=True, remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielwol committed Feb 6, 2025
1 parent ebb5808 commit 670dfcd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dags/miovision_pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import os
import pendulum
from datetime import timedelta
import configparser
import dateutil.parser

from airflow.decorators import dag, task, task_group
from airflow.models.param import Param
Expand Down Expand Up @@ -150,7 +148,7 @@ def aggregate_15_min_mvt_task(ds = None, **context):
intersections = get_intersection_info(conn, intersection=INTERSECTIONS)
aggregate_15_min_mvt(conn, time_period=time_period, intersections=intersections)

@task
@task(depends_on_past=True)
def zero_volume_anomalous_ranges_task(ds = None, **context):
mio_postgres = PostgresHook("miovision_api_bot")
time_period = (ds, ds_add(ds, 1))
Expand Down

0 comments on commit 670dfcd

Please sign in to comment.