Skip to content

Commit

Permalink
python dict
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Apr 17, 2024
1 parent a5bfa92 commit 37c5b96
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dags/stellar_etl_airflow/test_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ def compare_transforms_and_bq_rows():
xcom_ledgers = ti.xcom_pull(task_ids=task.task_id, key="return_value")

# Parse JSON and get successful_transforms
successful_transforms_ledgers = json.loads(xcom_ledgers)[
"successful_transforms"
]
successful_transforms_ledgers = xcom_ledgers["successful_transforms"]

total_successful_transforms += successful_transforms_ledgers

print(f"Total successful transforms for yesterday: {total_successful_transforms}")
Expand Down

0 comments on commit 37c5b96

Please sign in to comment.