Skip to content

Commit

Permalink
fix for airflow 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 committed Dec 12, 2024
1 parent 8ac7246 commit 0c35da9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""This example DAG demonstrates how to create and use a DataHubGraph client."""

from datetime import timedelta

import pendulum
from airflow.decorators import dag, task
from datahub.ingestion.graph.client import DataHubGraph, RemovedStatusFilter
Expand All @@ -8,7 +10,7 @@


@dag(
schedule=None,
schedule_interval=timedelta(days=1),
start_date=pendulum.datetime(2021, 1, 1, tz="UTC"),
catchup=False,
)
Expand Down

0 comments on commit 0c35da9

Please sign in to comment.