Skip to content

docs: fix incorrect pageSize() reference in Pager.page docstring#2502

Open
aryanmotgi wants to merge 1 commit into
googleapis:mainfrom
aryanmotgi:fix/pager-page-size-docstring
Open

docs: fix incorrect pageSize() reference in Pager.page docstring#2502
aryanmotgi wants to merge 1 commit into
googleapis:mainfrom
aryanmotgi:fix/pager-page-size-docstring

Conversation

@aryanmotgi
Copy link
Copy Markdown

The docstring for _BasePager.page references pageSize() (camelCase, as if it were a method), but the actual public attribute is the page_size property (snake_case, no parens).

This is purely a documentation fix — a one-line update in google/genai/pagers.py to point readers to the correct attribute name.

The docstring referenced pageSize() (camelCase method call) but the
actual attribute is page_size (snake_case property).
@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 23, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

1 participant