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 2022/02/17 22:01:21 UTC

[GitHub] [airflow] AdamPaslawski opened a new issue #21655: SFTP Sensor - Allow Use of Modified Time

AdamPaslawski opened a new issue #21655:
URL: https://github.com/apache/airflow/issues/21655


   ### Description
   
   The SFTP sensor uses the existence of a modified time to determine if a file exists in an SFTP location.
   
   I would like to propose extending the sensor to allow for a `newer_than`  option, since we already get the modified time in the current implementation of `poke()` this would be a relatively simple but useful extension.
   
   ### Use case/motivation
   
   I want to be able to use this sensor and ensure it succeeds if a file exists and is "fresh" enough.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #21655: SFTP Sensor - Allow Use of Modified Time

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #21655:
URL: https://github.com/apache/airflow/issues/21655#issuecomment-1043510329


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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



[GitHub] [airflow] eladkal commented on issue #21655: SFTP Sensor - Allow Use of Modified Time

Posted by GitBox <gi...@apache.org>.
eladkal commented on issue #21655:
URL: https://github.com/apache/airflow/issues/21655#issuecomment-1044384110


   feel free to submit PR


-- 
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