kaxil commented on a change in pull request #5089: [AIRFLOW-4255] Make GCS Hook 
Backwards compatible
URL: https://github.com/apache/airflow/pull/5089#discussion_r274911976
 
 

 ##########
 File path: airflow/contrib/hooks/gcs_hook.py
 ##########
 @@ -187,8 +189,15 @@ def upload(self, bucket, object, filename,
         :type mime_type: str
         :param gzip: Option to compress file for upload
         :type gzip: bool
+        :param multipart: Deprecated parameter. Multipart would be handled 
automatically
+        :type multipart: bool or int
+        :param num_retries: Deprecated parameter. Retries would be handled 
automatically
+        :type num_retries: int
         """
 
+        warnings.warn("'multipart' and 'num_retries' parameters have been 
deprecated."
 
 Review comment:
   Done. Updated

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to