TobKed commented on a change in pull request #11726:
URL: https://github.com/apache/airflow/pull/11726#discussion_r522970986
##########
File path: airflow/providers/google/cloud/hooks/dataflow.py
##########
@@ -147,9 +147,16 @@ class _DataflowJobsController(LoggingMixin):
not by specific job ID, then actions will be performed on all matching
jobs.
:param drain_pipeline: Optional, set to True if want to stop streaming job
by draining it
instead of canceling.
+ :param wait_until_finished: If True, wait for the end of pipeline
execution before exiting. If False,
+ it only waits for it to starts (``JOB_STATE_RUNNING``).
+
+ The default behavior depends on the type of pipeline:
Review comment:
@aaltay I changed behavior for `wait_until_finished=False`.
Now it will not wait for job to be in running state. It could be checked by
the sensor.
----------------------------------------------------------------
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]