From ff15f19d3a5830acdd540181dc6e9d07ca7d88ee Mon Sep 17 00:00:00 2001 From: HemangChothani <50404902+HemangChothani@users.noreply.github.com> Date: Wed, 12 Feb 2020 00:04:27 +0530 Subject: [PATCH] fix(storage): fix documentation of max_result parameter in list_blob (#43) --- google/cloud/storage/bucket.py | 4 +--- google/cloud/storage/client.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/google/cloud/storage/bucket.py b/google/cloud/storage/bucket.py index ed275e88f..140fc9407 100644 --- a/google/cloud/storage/bucket.py +++ b/google/cloud/storage/bucket.py @@ -885,9 +885,7 @@ def list_blobs( :type max_results: int :param max_results: - (Optional) The maximum number of blobs in each page of results - from this request. Non-positive values are ignored. Defaults to - a sensible value set by the API. + (Optional) The maximum number of blobs to return. :type page_token: str :param page_token: diff --git a/google/cloud/storage/client.py b/google/cloud/storage/client.py index 9c89b342d..1d51e6546 100644 --- a/google/cloud/storage/client.py +++ b/google/cloud/storage/client.py @@ -508,9 +508,7 @@ def list_blobs( The bucket resource to pass or name to create. max_results (int): - (Optional) The maximum number of blobs in each page of results - from this request. Non-positive values are ignored. Defaults to - a sensible value set by the API. + (Optional) The maximum number of blobs to return. page_token (str): (Optional) If present, return the next batch of blobs, using the