File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
airflow/providers/google/cloud/hooks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -265,8 +265,8 @@ def rewrite(
265
265
266
266
def download (
267
267
self ,
268
+ bucket_name : str ,
268
269
object_name : str ,
269
- bucket_name : Optional [str ],
270
270
filename : Optional [str ] = None ,
271
271
chunk_size : Optional [int ] = None ,
272
272
timeout : Optional [int ] = DEFAULT_TIMEOUT ,
@@ -280,10 +280,10 @@ def download(
280
280
returns the location. For file sizes that exceed the available memory it is recommended
281
281
to write to a file.
282
282
283
- :param object_name: The object to fetch.
284
- :type object_name: str
285
283
:param bucket_name: The bucket to fetch from.
286
284
:type bucket_name: str
285
+ :param object_name: The object to fetch.
286
+ :type object_name: str
287
287
:param filename: If set, a local file path where the file should be written to.
288
288
:type filename: str
289
289
:param chunk_size: Blob chunk size.
You can’t perform that action at this time.
0 commit comments