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/04/12 20:15:20 UTC

[GitHub] [airflow] SevakAvetGD removed a comment on issue #15001: S3MultipleKeysSensor operator

SevakAvetGD removed a comment on issue #15001:
URL: https://github.com/apache/airflow/issues/15001#issuecomment-818150046


   I'd more towards modifying existing operator and making it accept list of prefixes.
   Also, the expected behaviour is that poke() will return True only if all keys exist, right?
   Would that be useful to have sort of any(..) (when at least one key exist) instead of all(..)?
   
   Also, this can be implemented as such:
    ```
   return all(hook.check_for_key(key, self.bucket_name) for key in key_list)
    ```


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

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