RosterIn commented on a change in pull request #7197:
URL: https://github.com/apache/airflow/pull/7197#discussion_r411981831
##########
File path: airflow/providers/google/cloud/sensors/gcs.py
##########
@@ -189,12 +190,14 @@ def get_time():
return datetime.now()
+@poke_mode_only
class GCSUploadSessionCompleteSensor(BaseSensorOperator):
"""
Checks for changes in the number of objects at prefix in Google Cloud
Storage
bucket and returns True if the inactivity period has passed with no
- increase in the number of objects. Note, it is recommended to use
reschedule
- mode if you expect this sensor to run for hours.
+ increase in the number of objects. Note, this sensor will no behave
correctly
+ in reschedule mode, as the state of the listed objects in the GCS bucket
will
Review comment:
```suggestion
increase in the number of objects. Note, this sensor will not behave
correctly
with reschedule mode, as the state of the listed objects in the GCS
bucket will
```
----------------------------------------------------------------
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:
[email protected]