phanikumv commented on code in PR #30579:
URL: https://github.com/apache/airflow/pull/30579#discussion_r1170135414


##########
airflow/providers/google/cloud/triggers/gcs.py:
##########
@@ -97,3 +99,101 @@ async def _object_exists(self, hook: GCSAsyncHook, 
bucket_name: str, object_name
             if object_response:
                 return "success"
             return "pending"
+
+
+class GCSCheckBlobUpdateTimeTrigger(BaseTrigger):
+    """
+    A trigger that makes an async call to GCS to check whether the object is 
updated in a bucket.
+
+    :param bucket: google cloud storage bucket name cloud storage where the 
objects are residing.
+    :param object_name: the file or folder present in the bucket
+    :param ts: datetime object
+    :param poke_interval: polling period in seconds to check for file/folder
+    :param google_cloud_conn_id: reference to the Google Connection
+    :param hook_params: dict object that has delegate_to and 
impersonation_chain
+    """
+
+    def __init__(
+        self,
+        bucket: str,
+        object_name: str,
+        ts: datetime,

Review Comment:
   changed the variable name to `target_date`



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

Reply via email to