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

2022-04-11 Thread GitBox
uranusjr commented on code in PR #22699: URL: https://github.com/apache/airflow/pull/22699#discussion_r847768433 ## airflow/exceptions.py: ## @@ -298,3 +298,7 @@ def __repr__(self) -> str: class TaskDeferralError(AirflowException): """Raised when a task failed during

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

2022-04-07 Thread GitBox
uranusjr commented on code in PR #22699: URL: https://github.com/apache/airflow/pull/22699#discussion_r845733347 ## airflow/models/dag.py: ## @@ -2280,6 +2284,12 @@ def create_dagrun( "Creating DagRun needs either `run_id` or both `run_type` and