-
Notifications
You must be signed in to change notification settings - Fork 11.1k
grpc-testing not supports grpc.aio #24942
Copy link
Copy link
Open
Labels
disposition/help wantedMaintainers do not have enough resources to allocate to this at the moment. Help is appreciated!Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated!kind/enhancementlang/Pythonpriority/P3
Description
What version of gRPC and what language are you using?
1.33.2
What operating system (Linux, Windows,...) and version?
Linux, Ubuntu 20
What runtime / compiler are you using (e.g. python version or version of gcc)
Python 3.8
What did you do?
My servicers use grpc.aio and context.abort inside method.
My tests can't check abort call cause signature of call grpc_testing._server._servicer_context.ServicerContext.abort differ from grpc.aio.ServicerContext.abort signature
What did you expect to see?
Normal tests run
What did you see instead?
Type errror - server side context has got 3 positional args (https://grpc.github.io/grpc/python/grpc_asyncio.html#grpc.aio.ServicerContext.abort) but grpc_testing._server._servicer_context.ServicerContext.abort has got only two args in signature (code and details without metadata)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
disposition/help wantedMaintainers do not have enough resources to allocate to this at the moment. Help is appreciated!Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated!kind/enhancementlang/Pythonpriority/P3