kaxil commented on a change in pull request #3893: [AIRFLOW-2932]
GoogleCloudStorageHook - allow compression of file
URL: https://github.com/apache/incubator-airflow/pull/3893#discussion_r217894080
##########
File path: airflow/contrib/operators/file_to_gcs.py
##########
@@ -37,6 +37,8 @@ class FileToGoogleCloudStorageOperator(BaseOperator):
:type google_cloud_storage_conn_id: str
:param mime_type: The mime-type string
:type mime_type: str
+ :type gzip: Allows for file to upload as gzip
+ :param gzip: boolean
Review comment:
Incorrect docstring, you have mixed `type` and `param`. Replace it to:
```
:param gzip: Allows for file to upload as gzip
:type gzip: boolean
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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