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/08/24 06:37:59 UTC

[GitHub] [airflow] uranusjr commented on issue #17752: Skip Scheduled Runs

uranusjr commented on issue #17752:
URL: https://github.com/apache/airflow/issues/17752#issuecomment-904364486


   Allowing a DAG to control when the next run should happen feels like the wrong abstraction to me. A BranchPythonOperator seems like a good way to go. With AIP-39 implemented, you may also use a custom timetable to query previous DAG run results to determine when the next DAG run should happen. The difference is to not put controlling logic on the *previous* run (which is wrong), but make the *next* run—either when the run happens as in BranchPythonOperator, or when the scheduler decides when the run should happen as in AIP-39 timetable—decide what to do.


-- 
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