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 2019/06/24 22:15:31 UTC

[GitHub] [airflow] Sinsin1367 commented on a change in pull request #5473: [AIRFLOW-4844] Added optional is_paused_upon_creation argument for da…

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:
users@infra.apache.org


With regards,
Apache Git Services