feng-tao commented on a change in pull request #4396: [AIRFLOW-3585] - Add 
edges to database
URL: https://github.com/apache/airflow/pull/4396#discussion_r259594249
 
 

 ##########
 File path: airflow/models/__init__.py
 ##########
 @@ -2771,6 +2766,8 @@ class DagModel(Base):
     is_subdag = Column(Boolean, default=False)
     # Whether that DAG was seen on the last DagBag load
     is_active = Column(Boolean, default=False)
+    # parent dag, if set this dag is a subdag
 
 Review comment:
   nit: the grammar looks off to me. How about `only subdag will set parent_dag 
to not none`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to