airflow.sensors.filesystem¶
Module Contents¶
-
class
airflow.sensors.filesystem.FileSensor(*, filepath, fs_conn_id='fs_default', **kwargs)[source]¶ Bases:
airflow.sensors.base.BaseSensorOperatorWaits for a file or folder to land in a filesystem.
If the path given is a directory then this sensor will only return true if any files exist inside it (either directly, or within a subdirectory)
- Parameters