From bdbd36a0bfb447e8b0ae92036ad567ca651f6de6 Mon Sep 17 00:00:00 2001 From: "Bala.FA" Date: Sat, 30 Jan 2021 09:31:30 +0530 Subject: [PATCH] Update fget_object() API documentation --- docs/API.md | 4 ++-- minio/api.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/API.md b/docs/API.md index 688f337eb..609933325 100644 --- a/docs/API.md +++ b/docs/API.md @@ -941,8 +941,7 @@ with client.select_object_content( -### fget_object(bucket_name, object_name, file_path, request_headers=None, ssec=None, version_id=None, extra_query_params=None) - +### fget_object(bucket_name, object_name, file_path, request_headers=None, ssec=None, version_id=None, extra_query_params=None, tmp_file_path=None) Downloads data of an object to file. __Parameters__ @@ -956,6 +955,7 @@ __Parameters__ | `ssec` | _SseCustomerKey_ | Server-side encryption customer key. | | `version_id` | _str_ | Version-ID of the object. | | `extra_query_params` | _dict_ | Extra query parameters for advanced usage. | +| `tmp_file_path` | _str_ | Path to a temporary file. | __Return Value__ diff --git a/minio/api.py b/minio/api.py index befd470de..cca13ecf4 100644 --- a/minio/api.py +++ b/minio/api.py @@ -1035,7 +1035,7 @@ def fget_object(self, bucket_name, object_name, file_path, :param ssec: Server-side encryption customer key. :param version_id: Version-ID of the object. :param extra_query_params: Extra query parameters for advanced usage. - :param tmp_file_path: Path to a temporary file + :param tmp_file_path: Path to a temporary file. :return: Object information. Example::