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.

@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.

@Venkaiahbabuneelam Venkaiahbabuneelam self-assigned this May 25, 2026
@Venkaiahbabuneelam Venkaiahbabuneelam added the size:S Code changes < 10 lines label May 25, 2026
@Venkaiahbabuneelam
Copy link
Copy Markdown

Hi @aryanmotgi, Thanks for reaching out us!

Some checks have failed, please resolve the conflicts.z

Thanks

The docstring referenced pageSize() (camelCase method call) but the
actual attribute is page_size (snake_case property).
@aryanmotgi aryanmotgi force-pushed the fix/pager-page-size-docstring branch from 0e20cc2 to c69208d Compare May 26, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants