airflow.providers.tableau.sensors.tableau_job_status

Module Contents

Classes

TableauJobStatusSensor

Watches the status of a Tableau Server Job.

class airflow.providers.tableau.sensors.tableau_job_status.TableauJobStatusSensor(*, job_id, site_id=None, tableau_conn_id='tableau_default', **kwargs)[source]

Bases: airflow.sensors.base.BaseSensorOperator

Watches the status of a Tableau Server Job.

Parameters
  • job_id (str) -- Id of the job to watch.

  • site_id (Optional[str]) -- The id of the site where the workbook belongs to.

  • tableau_conn_id (str) -- The Tableau Connection id containing the credentials to authenticate to the Tableau Server.

template_fields :Sequence[str] = ['job_id'][source]
poke(self, context)[source]

Pokes until the job has successfully finished.

Parameters

context (airflow.utils.context.Context) -- The task context during execution.

Returns

True if it succeeded and False if not.

Return type

bool

Was this entry helpful?