phanikumv commented on code in PR #30618:
URL: https://github.com/apache/airflow/pull/30618#discussion_r1175551118
##########
airflow/providers/google/cloud/triggers/gcs.py:
##########
@@ -97,3 +97,76 @@ async def _object_exists(self, hook: GCSAsyncHook,
bucket_name: str, object_name
if object_response:
return "success"
return "pending"
+
+
+class GCSPrefixBlobTrigger(GCSBlobTrigger):
+ """
+ A trigger that fires and it looks for all the objects in the given bucket
+ which matches the given prefix if not found sleep for certain interval and
checks again.
Review Comment:
done
--
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]