airflow.contrib.sensors.sagemaker_tuning_sensor¶
Module Contents¶
-
class
airflow.contrib.sensors.sagemaker_tuning_sensor.SageMakerTuningSensor(job_name, *args, **kwargs)[source]¶ Bases:
airflow.contrib.sensors.sagemaker_base_sensor.SageMakerBaseSensorAsks for the state of the tuning state until it reaches a terminal state. The sensor will error if the job errors, throwing a AirflowException containing the failure reason.
- Parameters
job_name (str) – job_name of the tuning instance to check the state of