You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/26 16:01:02 UTC

[GitHub] [airflow] cstenkamp commented on issue #19743: `catchup=False` doesn't stop airflow from backfilling if executed using the DebugExecutor

cstenkamp commented on issue #19743:
URL: https://github.com/apache/airflow/issues/19743#issuecomment-980076768


   @ashb But for me the issue still persists.
   I am only using the DebugExecutor when I explicitly want to debug my code. In my `airflow.cfg` I specified the CeleryExecutor, and only when I want to be able to explicitly set Breakpoints into my code in the dag I overwrite the respective environment variable and execute the python-file directly - thus I only use the DebugExecutor when I invoke this dag using `dag.run()`.
   
   As a workaround for now I also change the start_date to something like `datetime(2021, 11, 10) if os.getenv("AIRFLOW__CORE__EXECUTOR") !== "DebugExecutor" else datetime.now()-timedelta(minutes=32)`, however I don't think that's the best way to solve this problem


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org