From 30538804a068125db789391cb646d86fba35a343 Mon Sep 17 00:00:00 2001 From: Laysa de Sousa Bitencourt Date: Fri, 19 Apr 2024 11:27:46 -0300 Subject: [PATCH] dag_run.execution_date --- dags/stellar_etl_airflow/test_sources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dags/stellar_etl_airflow/test_sources.py b/dags/stellar_etl_airflow/test_sources.py index a8d522de..2b24b418 100644 --- a/dags/stellar_etl_airflow/test_sources.py +++ b/dags/stellar_etl_airflow/test_sources.py @@ -39,8 +39,8 @@ def get_from_combinedExport(**context): gcs_hook = GCSHook(google_cloud_storage_conn_id="google_cloud_storage_default") - for execution_date in execution_dates: - print(execution_date) + for dag_run in execution_dates: + print(dag_run.execution_date) # Download the file and get its content, it runs 47 times day 16th of april file_content = gcs_hook.download(