Add clarity to gcs_download_operator params

Fix flake8 errors

reformat comments
This commit is contained in:
Leah Cole 2019-09-05 17:18:08 -07:00 коммит произвёл Jarek Potiuk
Родитель 91d08571dd
Коммит ce17c9b1d1
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -39,12 +39,13 @@ class GoogleCloudStorageDownloadOperator(BaseOperator):
set the ``store_to_xcom_key`` parameter to True push the file content into xcom. When the file size set the ``store_to_xcom_key`` parameter to True push the file content into xcom. When the file size
exceeds the maximum size for xcom it is recommended to write to a file. exceeds the maximum size for xcom it is recommended to write to a file.
:param bucket: The Google cloud storage bucket where the object is. (templated) :param bucket: The Google cloud storage bucket where the object is.
Must not contain 'gs://' prefix. (templated)
:type bucket: str :type bucket: str
:param object: The name of the object to download in the Google cloud :param object: The name of the object to download in the Google cloud
storage bucket. (templated) storage bucket. (templated)
:type object: str :type object: str
:param filename: The file path on the local file system (where the :param filename: The file path, including filename, on the local file system (where the
operator is being executed) that the file should be downloaded to. (templated) operator is being executed) that the file should be downloaded to. (templated)
If no filename passed, the downloaded data will not be stored on the local file If no filename passed, the downloaded data will not be stored on the local file
system. system.