Skip to content

Conversation

@HemangChothani
Copy link
Collaborator

@HemangChothani HemangChothani commented Jan 3, 2020

IPR 10030

(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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather minimize the changes:

                (Optional) The maximum total number of blobs in results
                from this request. Non-positive values are ignored. Defaults to
                a sensible value set by the API.

The last sentence can possibly be removed if the default value does not exist.

Copy link
Collaborator Author

@HemangChothani HemangChothani Jan 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mf2199 I have copied the discription from other page like here to maintain the consistency, if needed i will change it.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think "Non-positive values are ignored." is actually true from the implementation. None is ignored/header is not set so default applies, and 0 and negative numbers are equivalent and will result in an empty iterator.

@MaxxleLLC MaxxleLLC force-pushed the storage_doc_fix_list_blob branch from 848b1bf to 1c0ab69 Compare January 8, 2020 09:38
@bz2
Copy link

bz2 commented Jan 8, 2020

@HemangChothani Thanks for picking this up, changing the docs here should be sufficient to resolve https://github.com/googleapis/google-cloud-python/issues/10030 I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants