potiuk commented on a change in pull request #22179:
URL: https://github.com/apache/airflow/pull/22179#discussion_r825446672
##########
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:
NA... Change it straight away - it make more sense to explicitly show
where it is from. And parser will anyhow optimize it and calculate.
BTW. Also "chunksize" is not liked by Sphinx it seems :). The `chunk size`
would be better.
--
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]