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/11/03 16:29:59 UTC

[GitHub] [airflow] TobKed commented on a change in pull request #11726: Add DataflowJobStatusSensor and support non-blocking execution of jobs

TobKed commented on a change in pull request #11726:
URL: https://github.com/apache/airflow/pull/11726#discussion_r516797979



##########
File path: airflow/providers/google/cloud/example_dags/example_dataflow.py
##########
@@ -127,6 +130,40 @@
         py_interpreter='python3',
         py_system_site_packages=False,
     )
+    # [END howto_operator_start_python_job]
+
+
+with models.DAG(
+    "example_gcp_dataflow_native_python_async",
+    default_args=default_args,
+    start_date=days_ago(1),
+    schedule_interval=None,  # Override to match your needs

Review comment:
       IMHO link to the documentation is not necessary here because `schedule_interval` is documented in `DAG` class.




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