Skip to content

Commit

Permalink
Do not provide deprecated execution_date in @apply_lineage (#39327)
Browse files Browse the repository at this point in the history
(cherry picked from commit 10e34d3)
  • Loading branch information
Taragolis authored and ephraimbuddy committed Jun 4, 2024
1 parent de98856 commit 6d183e7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions airflow/lineage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,10 @@ def wrapper(self, context, *args, **kwargs):
inlets = list(self.inlets)

if outlets:
self.xcom_push(
context, key=PIPELINE_OUTLETS, value=outlets, execution_date=context["ti"].execution_date
)
self.xcom_push(context, key=PIPELINE_OUTLETS, value=outlets)

if inlets:
self.xcom_push(
context, key=PIPELINE_INLETS, value=inlets, execution_date=context["ti"].execution_date
)
self.xcom_push(context, key=PIPELINE_INLETS, value=inlets)

if _backend:
_backend.send_lineage(operator=self, inlets=self.inlets, outlets=self.outlets, context=context)
Expand Down

0 comments on commit 6d183e7

Please sign in to comment.