Skip to content
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

aio support #216

Open
sagewe opened this issue Mar 30, 2021 · 0 comments
Open

aio support #216

sagewe opened this issue Mar 30, 2021 · 0 comments

Comments

@sagewe
Copy link

sagewe commented Mar 30, 2021

any plan to introduce aio support?

I have modify servel line to deal with aio.Server typing in add_XXXServicer_to_server stub to workround in my project.
see fork

the code snippet used in my project is something like this:

from grpc import aio

server = aio.server()
demo_pb2_grpc.add_DemoServicer_to_server(..., server)

This modification works in grpc version with aio support only. I have no idea about how to generate stub works in situation where some hint types may not be available. Other choice is introduce a flag to generate feature specified stub.

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

No branches or pull requests

1 participant