Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1143 depends_on_past=True, remove unused imports #1145

Merged
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
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