airflow.providers.dbt.cloud.sensors.dbt
¶
Module Contents¶
Classes¶
Checks the status of a dbt Cloud job run. |
|
This class is deprecated. |
- class airflow.providers.dbt.cloud.sensors.dbt.DbtCloudJobRunSensor(*, dbt_cloud_conn_id=DbtCloudHook.default_conn_name, run_id, account_id=None, deferrable=conf.getboolean('operators', 'default_deferrable', fallback=False), **kwargs)[source]¶
Bases:
airflow.sensors.base.BaseSensorOperator
Checks the status of a dbt Cloud job run.
See also
For more information on how to use this sensor, take a look at the guide: Poll for status of a dbt Cloud Job run
- Parameters
- execute(context)[source]¶
Run the sensor.
Depending on whether
deferrable
is set, this would either defer to the triggerer or poll for states of the job run, until the job reaches a failure state or success state.
- class airflow.providers.dbt.cloud.sensors.dbt.DbtCloudJobRunAsyncSensor(**kwargs)[source]¶
Bases:
DbtCloudJobRunSensor
This class is deprecated.
Please use
airflow.providers.dbt.cloud.sensor.dbt.DbtCloudJobRunSensor
withdeferrable=True
.