RachaelDS commented on a change in pull request #8954:
URL: https://github.com/apache/airflow/pull/8954#discussion_r438284379
##########
File path: airflow/providers/google/cloud/operators/datafusion.py
##########
@@ -636,13 +648,15 @@ class CloudDataFusionStartPipelineOperator(BaseOperator):
template_fields = ("instance_name", "pipeline_name", "runtime_args")
@apply_defaults
- def __init__(
+ def __init__( # pylint: disable=too-many-arguments
self,
pipeline_name: str,
instance_name: str,
location: str,
runtime_args: Optional[Dict[str, Any]] = None,
+ success_states: Optional[List[str]] = None,
namespace: str = "default",
+ pipeline_timeout: int = 10 * 60,
Review comment:
As part of these changes you can now pass in a parameter to have the
operator wait for pipeline completion (not just pipeline start).
sensor + reschedule mode sounds like a good suggestion, thanks
----------------------------------------------------------------
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]