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 2020/05/19 14:15:14 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #8227: Add run_type to DagRun

mik-laj commented on a change in pull request #8227:
URL: https://github.com/apache/airflow/pull/8227#discussion_r427335236



##########
File path: airflow/models/dagrun.py
##########
@@ -65,14 +66,15 @@ class DagRun(Base, LoggingMixin):
     )
 
     def __init__(self, dag_id=None, run_id=None, execution_date=None, start_date=None, external_trigger=None,
-                 conf=None, state=None):
+                 conf=None, state=None, run_type=None):
         self.dag_id = dag_id
         self.run_id = run_id
         self.execution_date = execution_date
         self.start_date = start_date
         self.external_trigger = external_trigger
         self.conf = conf
         self.state = state
+        self.run_type = run_type

Review comment:
       https://github.com/apache/airflow/blob/bae5cc2f5ca32e0f61c3b92008fbd484184448ef/airflow/jobs/scheduler_job.py#L573 Can you look at it?




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

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