Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update grpcio stub to import grpc.aio #14132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 25, 2025
Merged

Conversation

jaywonchung
Copy link
Contributor

Relevant part in grpc/__init__.py: https://github.com/grpc/grpc/blob/cadf3c8329377e93b1f5e2d6a43d91f7a4becc28/src/python/grpcio/grpc/__init__.py#L2344-L2348

It runs from grpc import aio inside __init__.py if the Python version is 3.6 or later. I bumped into this because after upgrading to Pyright 1.1.401, grpc.aio type checking & definition finding regressed.

Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

Thanks!

@srittau srittau merged commit 57cb510 into python:main May 25, 2025
49 checks passed
@jaywonchung jaywonchung deleted the patch-1 branch May 25, 2025 00:07
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.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.