Skip to content

Use remote plugin to generate typing stubs #3

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 5 commits into from
Nov 28, 2023
Merged

Use remote plugin to generate typing stubs #3

merged 5 commits into from
Nov 28, 2023

Conversation

ronenh
Copy link
Collaborator

@ronenh ronenh commented Nov 16, 2023

This eliminates the mypy and mypy-protobuf dev dependencies and doesn't require poetry to generate the bindings.

In addition, this PR updates init_gen.py to exclude the *AsyncStub types that are added to the grpc .pyi files by the mypy-protobuf plugin (see nipunn1313/mypy-protobuf#489).

@ronenh ronenh merged commit ef8acd6 into main Nov 28, 2023
@ronenh ronenh deleted the gen-v3 branch November 28, 2023 21:19
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