This is an automated email from the ASF dual-hosted git repository.
dstandish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new d85cd3db4c Dataset-triggered dag runs should have the right DagRunType
(#25237)
d85cd3db4c is described below
commit d85cd3db4cc622821348695dd5cef424ce37b0d8
Author: Daniel Standish <[email protected]>
AuthorDate: Fri Jul 22 09:03:01 2022 -0700
Dataset-triggered dag runs should have the right DagRunType (#25237)
---
airflow/models/dagrun.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/models/dagrun.py b/airflow/models/dagrun.py
index 646beb3222..64c27303a1 100644
--- a/airflow/models/dagrun.py
+++ b/airflow/models/dagrun.py
@@ -703,7 +703,7 @@ class DagRun(Base, LoggingMixin):
dag = row.dag
if dag.schedule_on:
dag.create_dagrun(
- run_type=DagRunType.MANUAL,
+ run_type=DagRunType.DATASET_TRIGGERED,
run_id=self.generate_run_id(
DagRunType.DATASET_TRIGGERED,
execution_date=timezone.utcnow()
),