blob: 45b8fec40b1f191fdaa256fe0ae3e05607f9de54 [file] [log] [blame]
:mod:`airflow.providers.sftp.sensors.sftp`
==========================================
.. py:module:: airflow.providers.sftp.sensors.sftp
.. autoapi-nested-parse::
This module contains SFTP sensor.
Module Contents
---------------
.. py:class:: SFTPSensor(*, path: str, sftp_conn_id: str = 'sftp_default', **kwargs)
Bases: :class:`airflow.sensors.base.BaseSensorOperator`
Waits for a file or directory to be present on SFTP.
:param path: Remote file or directory path
:type path: str
:param sftp_conn_id: The connection to run the sensor against
:type sftp_conn_id: str
.. attribute:: template_fields
:annotation: = ['path']
.. method:: poke(self, context: dict)