rubbengimenez commented on issue #13322:
URL: https://github.com/apache/airflow/issues/13322#issuecomment-936457291


   Hi guys!
   
   Just for those who are facing this issue when debugging a DAG with 
DebugExecutor.
   
   If you change your start_date and use the function days_ago instead of 
passing a datetime it seems to work fine (although I don't know the reasons 
behing this behaviour...):
   
   ```python
   from airflow.utils.dates import days_ago
   
   default_args = {
       'owner': 'owner',
       # 'start_date': datetime(2021, 10, 5, 7, 45, 0, 0, tzinfo=TZINFO), 
       'start_date': days_ago(1), 
       'email': ['[email protected]'],
       'email_on_failure': False,
       'email_on_retry':   False,
       'retries': 2
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to