Skip to content

Commit

Permalink
from dagRun to dateTime Object
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Apr 17, 2024
1 parent b085bfb commit 9b85b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dags/stellar_etl_airflow/test_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def compare_transforms_and_bq_rows():

total_successful_transforms = 0

for execution_date in execution_dates:
for dag_run in execution_dates:
# Retrieve successful_transforms from XCOM
ti = TaskInstance(task, execution_date)
ti = TaskInstance(task, dag_run.execution_date)
xcom_ledgers = ti.xcom_pull(task_ids=task)

# Parse JSON and get successful_transforms
Expand Down

0 comments on commit 9b85b70

Please sign in to comment.