You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/11 20:36:25 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #16894: Add recursive flag to glob in filesystem sensor

potiuk commented on a change in pull request #16894:
URL: https://github.com/apache/airflow/pull/16894#discussion_r667532363



##########
File path: airflow/sensors/filesystem.py
##########
@@ -38,23 +38,27 @@ class FileSensor(BaseSensorOperator):
     :param filepath: File or folder name (relative to
         the base path set within the connection), can be a glob.
     :type filepath: str
+    :param recursive: when set True, enables recursive directory matching behavior of
+        `**` in glob filepath parameter. Defaults to False.

Review comment:
       An example in `airflow/example_dags` it was missing for filesystem_sensor, but it would be nice to add one since we are changing it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org