Sinsin1367 commented on a change in pull request #5473: [AIRFLOW-4844] Added 
optional is_paused_upon_creation argument for da…
URL: https://github.com/apache/airflow/pull/5473#discussion_r296937760
 
 

 ##########
 File path: airflow/models/dag.py
 ##########
 @@ -160,6 +160,10 @@ class DAG(BaseDag, LoggingMixin):
     :param access_control: Specify optional DAG-level permissions, e.g.,
         "{'role1': {'can_dag_read'}, 'role2': {'can_dag_read', 
'can_dag_edit'}}"
     :type access_control: dict
+    :param is_paused_upon_creation: Specifies if the dag is paused when 
created for the first time.
+        If the dag exists already, this flag will be ignored. If this optional 
parameter
+        is not specified, default behaviour same as before is exercised.
+    :type is_paused_upon_creation: bool
 
 Review comment:
   Done.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to