Skip to content

Commit

Permalink
pendulum
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Apr 17, 2024
1 parent be506fb commit e4346c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dags/stellar_etl_airflow/test_sources.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import json
import pendulum
from datetime import datetime, timedelta

from airflow import DAG
Expand All @@ -9,7 +10,7 @@


def compare_transforms_and_bq_rows():
yesterday = "{{ts(execution_date - macros.timedelta(days=1))}}"
yesterday = pendulum.datetime(2024, 4, 16, tz="UTC")
# Get all the execution dates for the current date
execution_dates = DagRun.find(
dag_id="history_archive_without_captive_core", execution_date=yesterday
Expand Down

0 comments on commit e4346c3

Please sign in to comment.