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 2022/04/05 10:38:30 UTC

[GitHub] [airflow] ashb commented on pull request #22699: add allow_manual DAG argument to prevent scheduled DAGs from being triggered manually

ashb commented on PR #22699:
URL: https://github.com/apache/airflow/pull/22699#issuecomment-1088542458

   Rather than adding another argument to DAG constructor does it maybe make more sense to add this as an argument to the Timetable?
   
   ```python
   with DAG(dag_id="dag_id", timetable=CronDataIntervalTimetable("0 0 * * *", allow_manual=False):
       ....
   ```


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