Skip to content

Commit

Permalink
working
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Apr 19, 2024
1 parent 4a43503 commit 4ffa1b2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dags/stellar_etl_airflow/test_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_from_combinedExport(**context):
execution_dates = (
session.query(DagRun)
.filter(
DagRun.dag_id == "history_archive_without_captive_core",
DagRun.dag_id == "history_archive_with_captive_core_combined_export",
DagRun.execution_date >= yesterday.start_of("day"),
DagRun.execution_date < yesterday.add(days=1).start_of("day"),
DagRun.state == State.SUCCESS,
Expand All @@ -39,9 +39,6 @@ def get_from_combinedExport(**context):

gcs_hook = GCSHook(google_cloud_storage_conn_id="google_cloud_storage_default")

for dag_run in execution_dates:
print(dag_run.execution_date)

for dag_run in execution_dates:
execution_date_str = dag_run.execution_date.strftime(
"%Y-%m-%d %H:%M:%S%z"
Expand Down

0 comments on commit 4ffa1b2

Please sign in to comment.