ulsc commented on a change in pull request #22179:
URL: https://github.com/apache/airflow/pull/22179#discussion_r825446296



##########
File path: airflow/providers/google/suite/hooks/drive.py
##########
@@ -180,12 +180,25 @@ def get_file_id(self, folder_id: str, file_name: str, 
drive_id: Optional[str] =
             file_metadata = {"id": files['files'][0]['id'], "mime_type": 
files['files'][0]['mimeType']}
         return file_metadata
 
-    def upload_file(self, local_location: str, remote_location: str) -> str:
+    def upload_file(
+        self,
+        local_location: str,
+        remote_location: str,
+        chunk_size: int = 104857600,

Review comment:
       It's written like this in the hook's `download_file` method. I think we 
should keep it like this and change all of them afterwards if necessary.




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