| :py:mod:`airflow.providers.amazon.aws.sensors.glue` |
| =================================================== |
| |
| .. py:module:: airflow.providers.amazon.aws.sensors.glue |
| |
| |
| Module Contents |
| --------------- |
| |
| Classes |
| ~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.providers.amazon.aws.sensors.glue.GlueJobSensor |
| airflow.providers.amazon.aws.sensors.glue.AwsGlueJobSensor |
| |
| |
| |
| |
| .. py:class:: GlueJobSensor(*, job_name, run_id, aws_conn_id = 'aws_default', **kwargs) |
| |
| Bases: :py:obj:`airflow.sensors.base.BaseSensorOperator` |
| |
| Waits for an AWS Glue Job to reach any of the status below |
| 'FAILED', 'STOPPED', 'SUCCEEDED' |
| |
| .. seealso:: |
| For more information on how to use this sensor, take a look at the guide: |
| :ref:`howto/sensor:GlueJobSensor` |
| |
| :param job_name: The AWS Glue Job unique name |
| :param run_id: The AWS Glue current running job identifier |
| |
| .. py:attribute:: template_fields |
| :annotation: :Sequence[str] = ['job_name', 'run_id'] |
| |
| |
| |
| .. py:method:: poke(self, context) |
| |
| Function that the sensors defined while deriving this class should |
| override. |
| |
| |
| |
| .. py:class:: AwsGlueJobSensor(*args, **kwargs) |
| |
| Bases: :py:obj:`GlueJobSensor` |
| |
| This sensor is deprecated. |
| Please use :class:`airflow.providers.amazon.aws.sensors.glue.GlueJobSensor`. |
| |
| |