From 14a108bd870a83cfc73e229ceb5a098c2b7d9040 Mon Sep 17 00:00:00 2001 From: Laysa de Sousa Bitencourt Date: Fri, 19 Apr 2024 13:09:56 -0300 Subject: [PATCH] execution_date_str = execution_date_str[:-2] + ':' + execution_date_str[-2:] --- dags/stellar_etl_airflow/test_sources.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dags/stellar_etl_airflow/test_sources.py b/dags/stellar_etl_airflow/test_sources.py index a89afd7e..83540aee 100644 --- a/dags/stellar_etl_airflow/test_sources.py +++ b/dags/stellar_etl_airflow/test_sources.py @@ -43,8 +43,7 @@ def get_from_combinedExport(**context): execution_date_str = dag_run.execution_date.strftime( "%Y-%m-%d %H:%M:%S%z" ).replace(" ", "T") - print(f" EM STRING É:{execution_date_str}") - print(type(dag_run.execution_date)) + execution_date_str = execution_date_str[:-2] + ":" + execution_date_str[-2:] # Download the file and get its content, it runs 47 times day 16th of april file_content = gcs_hook.download(