Module Contents



Trigger to perform checking the pipeline status until it reaches terminate state.

class, namespace, pipeline_name, pipeline_id, pipeline_type, poll_interval=3.0, gcp_conn_id='google_cloud_default', impersonation_chain=None, success_states=None)[source]

Bases: airflow.triggers.base.BaseTrigger

Trigger to perform checking the pipeline status until it reaches terminate state.

  • pipeline_name (str) – Your pipeline name.

  • instance_url (str) – Endpoint on which the REST APIs is accessible for the instance.

  • pipeline_id (str) – Unique pipeline ID associated with specific pipeline

  • pipeline_type (str) – Your pipeline type.

  • namespace (str) – if your pipeline belongs to a Basic edition instance, the namespace ID is always default. If your pipeline belongs to an Enterprise edition instance, you can create a namespace.

  • gcp_conn_id (str) – Reference to google cloud connection id

  • poll_interval (float) – polling period in seconds to check for the status

  • impersonation_chain (str | Sequence[str] | None) – Optional service account to impersonate using short-term credentials, or chained list of accounts required to get the access_token of the last account in the list, which will be impersonated in the request. If set as a string, the account must grant the originating account the Service Account Token Creator IAM role. If set as a sequence, the identities from the list must grant Service Account Token Creator IAM role to the directly preceding identity, with first account from the list granting this role to the originating account (templated).


Serialize DataFusionStartPipelineTrigger arguments and classpath.

async run()[source]

Get current pipeline status and yields a TriggerEvent.

Was this entry helpful?