Skip to content

[Python] Docs: correct grpc.Compression references#41705

Closed
h-vetinari wants to merge 1 commit intogrpc:masterfrom
h-vetinari:compression
Closed

[Python] Docs: correct grpc.Compression references#41705
h-vetinari wants to merge 1 commit intogrpc:masterfrom
h-vetinari:compression

Conversation

@h-vetinari
Copy link
Copy Markdown
Contributor

While investigating #41672 I noticed some incorrect docstrings. It's either grpc._compression (module) or grpc.Compression (class), but never grpc.compression.

It's either `grpc._compression` (module) or `grpc.Compression` (class).
@sergiitk
Copy link
Copy Markdown
Member

/gemini review

@sergiitk sergiitk changed the title update docstrings referring to non-existent grpc.compression [Python] Update docstrings referring to non-existent grpc.compression Feb 24, 2026
@sergiitk sergiitk added this to the Python Type Hints Support milestone Feb 24, 2026
@sergiitk sergiitk added the release notes: yes Indicates if PR needs to be in release notes label Feb 24, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request correctly updates all docstrings to refer to grpc.Compression instead of grpc.compression, aligning with the actual class name. The changes are consistent across all modified files and improve the clarity and accuracy of the documentation. No further issues were found.

Copy link
Copy Markdown
Member

@asheshvidyut asheshvidyut left a comment

Choose a reason for hiding this comment

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

Thanks for this change. LGTM.

@sergiitk sergiitk changed the title [Python] Update docstrings referring to non-existent grpc.compression [Python] Docs: correct grpc.Compression references Feb 25, 2026
@h-vetinari h-vetinari deleted the compression branch February 25, 2026 20:57
Zgoda91 pushed a commit to Zgoda91/grpc that referenced this pull request Mar 22, 2026
…n` (grpc#41705)

While investigating grpc#41672 I noticed some incorrect docstrings. It's either `grpc._compression` (module) or `grpc.Compression` (class), but never `grpc.compression`.

Closes grpc#41705

COPYBARA_INTEGRATE_REVIEW=grpc#41705 from h-vetinari:compression 3505bd8
PiperOrigin-RevId: 875195603
asheshvidyut pushed a commit to asheshvidyut/grpc that referenced this pull request Mar 26, 2026
…n` (grpc#41705)

While investigating grpc#41672 I noticed some incorrect docstrings. It's either `grpc._compression` (module) or `grpc.Compression` (class), but never `grpc.compression`.

Closes grpc#41705

COPYBARA_INTEGRATE_REVIEW=grpc#41705 from h-vetinari:compression 3505bd8
PiperOrigin-RevId: 875195603
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang/Python release notes: yes Indicates if PR needs to be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants