-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Open
Labels
area:deadline-alertsAIP-86 (former AIP-57)AIP-86 (former AIP-57)kind:featureFeature RequestsFeature Requests
Description
Description
Need to update tests to create DAGs with deadlines as below:
with dag_maker(
DAG1_ID,
dag_display_name=DAG1_DISPLAY_NAME,
schedule=None,
start_date=DAG1_START_DATE,
doc_md="details",
default_args={
"depends_on_past": False,
"retries": 1,
"retry_delay": timedelta(minutes=5),
},
deadline=[DeadlineAlert(
reference=DeadlineReference.DAGRUN_LOGICAL_DATE,
interval=timedelta(hours=1),
callback="dummy.callback",
)],
params={"foo": 1},
tags=["example"],
):
EmptyOperator(task_id=TASK_ID)
Use case/motivation
No response
Related issues
related to #50574
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:deadline-alertsAIP-86 (former AIP-57)AIP-86 (former AIP-57)kind:featureFeature RequestsFeature Requests
Type
Projects
Status
No status