mik-laj commented on a change in pull request #6011: [AIRFLOW-2842] Add 
GoogleCloudStorageSynchronizeBuckets operator
URL: https://github.com/apache/airflow/pull/6011#discussion_r321162595
 
 

 ##########
 File path: airflow/contrib/hooks/gcs_hook.py
 ##########
 @@ -564,6 +564,167 @@ def compose(self, bucket_name, source_objects, 
destination_object):
 
         self.log.info("Completed successfully.")
 
+    def sync(
+        self,
+        source_bucket: str,
+        destination_bucket: str,
+        source_object: Optional[str] = None,
+        destination_object: Optional[str] = None,
+        recursive: bool = True,
+        allow_overwrite: bool = False,
+        delete_extra_files: bool = False
+    ):
+        """
+        Synchronizes the contents of the buckets.
+
+        Parameters ``source_object`` and ``destination_object`` describe the 
root sync directory. If they are
 
 Review comment:
   I updated this pr.

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


With regards,
Apache Git Services

Reply via email to