phanikumv commented on code in PR #30579:
URL: https://github.com/apache/airflow/pull/30579#discussion_r1170134725
##########
airflow/providers/google/cloud/sensors/gcs.py:
##########
@@ -242,6 +245,42 @@ def poke(self, context: Context) -> bool:
)
return hook.is_updated_after(self.bucket, self.object,
self.ts_func(context))
+ def execute(self, context: Context) -> None:
+ """Airflow runs this method on the worker and defers using the
trigger."""
+ if not self.deferrable:
Review Comment:
changed to `if self.deferrable is False`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]