Skip to content

grpc-testing not supports grpc.aio  #24942

@nikiladonya

Description

@nikiladonya

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions